diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-11-11 05:38:40 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-11-11 05:38:40 +0000 |
commit | e470cdb287c1f2838d77560deb7da946a9aed871 (patch) | |
tree | 83359faffdfe73fb5affda307beab5c5bd11b84a /lib/libc/sys/wait.2 | |
parent | eb109d203326d107bcc8ed1c60e7b7e0d6f84028 (diff) | |
download | FreeBSD-src-e470cdb287c1f2838d77560deb7da946a9aed871.zip FreeBSD-src-e470cdb287c1f2838d77560deb7da946a9aed871.tar.gz |
Er, highlight function wait().
Diffstat (limited to 'lib/libc/sys/wait.2')
-rw-r--r-- | lib/libc/sys/wait.2 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 67508e1..b94a5fa 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -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 |