Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 15:10:05 GMT
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/142816: [patch] namei(9) return values
Message-ID:  <201001141510.o0EFA5bQ013091@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/142816; it has been noted by GNATS.

From: John Baldwin <jhb@freebsd.org>
To: freebsd-doc@freebsd.org
Cc: Lachlan Kang <LCRTRIfFu91c710azO2Y@live.co.uk>,
 freebsd-gnats-submit@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



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