mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Add notes about queued SIGCHLD.
This commit is contained in:
parent
e84ece6bef
commit
4c1a973e6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152293
@ -233,6 +233,16 @@ depending on the options in effect for the signal;
|
||||
see
|
||||
.Xr intro 2 ,
|
||||
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.
|
||||
.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.
|
||||
.Sh RETURN VALUES
|
||||
If
|
||||
.Fn wait
|
||||
|
Loading…
Reference in New Issue
Block a user