Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 09:30:43 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-doc@freebsd.org
Cc:        freebsd-gnats-submit@freebsd.org, Lachlan Kang <LCRTRIfFu91c710azO2Y@live.co.uk>
Subject:   Re: docs/142816: [patch] namei(9) return values
Message-ID:  <201001140930.43322.jhb@freebsd.org>
In-Reply-To: <201001140520.o0E5KsgU030632@www.freebsd.org>
References:  <201001140520.o0E5KsgU030632@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001140930.43322.jhb>