Er, highlight function wait().

This commit is contained in:
davidxu 2005-11-11 05:38:40 +00:00
parent eb109d2033
commit e470cdb287

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