summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-11-11 05:30:48 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-11-11 05:30:48 +0000
commit4c1a973e6e8462261fd295f9728fa93d8ca2277d (patch)
treec3d31a3f2fd93080353e316c9c4402ca3e58716d
parente84ece6bef13b7dc2b7b2feb217122aed5e9f859 (diff)
Notes
-rw-r--r--lib/libc/sys/wait.210
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 2081e2d3996b..67508e13f453 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -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