Er, highlight function wait().

This commit is contained in:
David Xu 2005-11-11 05:38:40 +00:00
parent 4c1a973e6e
commit c05e95d4ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152294

View file

@ -235,14 +235,17 @@ see
System call restart.
.Pp
The implementation queues one SIGCHLD signal for each child process whose
status has changed, if wait() or waitpid() returns because the status of
a child process is available, the pending SIGCHLD signal associated with
the process ID of the child process will be discarded.
Any other pending SIGCHLD signals remain pending.
status has changed, if
.Fn wait
returns because the status of a child process is available, the pending
SIGCHLD signal associated with the process ID of the child process will
be discarded. Any other pending SIGCHLD signals remain pending.
.Pp
If SIGCHLD is blocked, if wait() or waitpid() return because the
status of a child process is available, the pending SIGCHLD signal will be
cleared unless another status of the child process is available.
If SIGCHLD is blocked,
.Fn wait
returns because the status of a child process is available, the pending
SIGCHLD signal will be cleared unless another status of the child process
is available.
.Sh RETURN VALUES
If
.Fn wait