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

John Baldwin jhb at freebsd.org
Thu Jan 14 15:03:51 UTC 2010


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