mirror of https://github.com/mkerrisk/man-pages
Clarify description of return value for WNOHANG.
This commit is contained in:
parent
cfc621b5d9
commit
55ae3c86d1
|
@ -355,12 +355,12 @@ on error, \-1 is returned.
|
|||
|
||||
.BR waitpid ():
|
||||
on success, returns the process ID of the child whose state has changed;
|
||||
on error, \-1 is returned;
|
||||
if
|
||||
.B WNOHANG
|
||||
was specified and no child(ren) specified by
|
||||
was specified and one or more child(ren) specified by
|
||||
.I pid
|
||||
has yet changed state, then 0 is returned.
|
||||
exist, but have not yet changed state, then 0 is returned.
|
||||
On error, \-1 is returned.
|
||||
|
||||
.BR waitid ():
|
||||
returns 0 on success or
|
||||
|
|
Loading…
Reference in New Issue