Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 13:24:49 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-doc@freebsd.org
Cc:        Michael Galassi <michaelgalassi@gmail.com>, freebsd-gnats-submit@freebsd.org
Subject:   Re: docs/183904: wpid argument in wait(2) manpage is mischarachterized.
Message-ID:  <201311121324.49626.jhb@freebsd.org>
In-Reply-To: <201311121714.rACHEOk9030162@oldred.freebsd.org>
References:  <201311121714.rACHEOk9030162@oldred.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, November 12, 2013 12:14:24 pm Michael Galassi wrote:
> 
> >Number:         183904
> >Category:       docs
> >Synopsis:       wpid argument in wait(2) manpage is mischarachterized.
> >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:   Tue Nov 12 17:20:00 UTC 2013
> >Closed-Date:
> >Last-Modified:
> >Originator:     Michael Galassi
> >Release:        10.0-BETA3
> >Organization:
> me
> >Environment:
> FreeBSD penguin.arrs.arrisi.com 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r258002: 
Mon Nov 11 12:17:07 PST 2013     
root@penguin.arrs.arrisi.com:/usr/obj/usr/src/sys/PENGUIN  amd64
> 
> >Description:
> The man page for wait includes the sentence:
> 
> For wait(), wait3(), and wait4() functions, the single wpid argument 
specifies the set of child processes for which to wait.
> 
> wait() and wait3() however do not take a wpid argument.
> >How-To-Repeat:
> man 2 wait
> >Fix:
> I am reasonably certain that this sentence was meant to read:
> was meant to refer to waitpid() and wait4() only.
> 
> For waitpid() and wait4() functions, the wpid argument specifies the set of 
child processes for which to wait.

I have a large update pending to wait(2), so I will take this.

-- 
John Baldwin



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