docs/142816: [patch] namei(9) return values

John Baldwin jhb at freebsd.org
Thu Jan 14 15:10:05 UTC 2010


The following reply was made to PR docs/142816; it has been noted by GNATS.

From: John Baldwin <jhb at freebsd.org>
To: freebsd-doc at freebsd.org
Cc: Lachlan Kang <LCRTRIfFu91c710azO2Y at live.co.uk>,
 freebsd-gnats-submit at freebsd.org
Subject: Re: docs/142816: [patch] namei(9) return values
Date: Thu, 14 Jan 2010 09:30:43 -0500

 On Thursday 14 January 2010 12:20:54 am Lachlan Kang wrote:
 > 
 > >Number:         142816
 > >Category:       docs
 > >Synopsis:       [patch] namei(9) return values
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-doc
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          doc-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Jan 14 05:30:02 UTC 2010
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Lachlan Kang
 > >Release:        FreeBSD 8.0-RELEASE
 > >Organization:
 > >Environment:
 > >Description:
 > The manpage namei(9) does not specify the return value of the function 
 namei().
 > The function namei() returns 0 on success, or errno on failure.
 > I skimmed through the namei() source code (src/sys/kern/vfs_lookup.c) and 
 added a simple RETURN VALUES and ERRORS section to the namei(9) manpage.
 > The error code descriptions were simply copied from intro(2).
 > >How-To-Repeat:
 > man 9 namei
 > >Fix:
 > Add a RETURN VALUES and ERRORS section to namei(9).
 > 
 > Patch attached with submission follows:
 
 Thanks!  I've modified this slightly (added missing line breaks to ease 
 translation work) and changed the error descriptions to more closely match 
 what is used in open(2).
 
 -- 
 John Baldwin



More information about the freebsd-doc mailing list