add continued status.

This commit is contained in:
David Xu 2005-11-12 01:37:03 +00:00
parent b1e515a3f4
commit ec0fd3f855
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152325

View File

@ -133,7 +133,7 @@ If
is non-zero, a summary of the resources used by the terminated
process and all its
children is returned (this information is currently not available
for stopped processes).
for stopped or continued processes).
.Pp
When the
.Dv WNOHANG
@ -249,7 +249,7 @@ is available.
.Sh RETURN VALUES
If
.Fn wait
returns due to a stopped
returns due to a stopped, continued,
or terminated child process, the process ID of the child
is returned to the calling process.
Otherwise, a value of -1
@ -262,7 +262,7 @@ If
.Fn wait3 ,
or
.Fn waitpid
returns due to a stopped
returns due to a stopped, continued,
or terminated child process, the process ID of the child
is returned to the calling process.
If there are no children not previously awaited,
@ -273,7 +273,7 @@ set to
Otherwise, if
.Dv WNOHANG
is specified and there are
no stopped or exited children,
no stopped, continued or exited children,
0 is returned.
If an error is detected or a caught signal aborts the call,
a value of -1