docs/183904: wpid argument in wait(2) manpage is mischarachterized.

Michael Galassi michaelgalassi at gmail.com
Tue Nov 12 17:20:00 UTC 2013


>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 at 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.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-doc mailing list