Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 17:14:24 GMT
From:      Michael Galassi <michaelgalassi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/183904: wpid argument in wait(2) manpage is mischarachterized.
Message-ID:  <201311121714.rACHEOk9030162@oldred.freebsd.org>
Resent-Message-ID: <201311121720.rACHK0aC095291@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

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



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