summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/wait.2
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-06-07 11:01:39 +0000
committeryar <yar@FreeBSD.org>2004-06-07 11:01:39 +0000
commit68060b2236dc8453f4a0471f0b41e12e21711d18 (patch)
tree13efc13191bd58a4e268f252e63b25106b748ed5 /lib/libc/sys/wait.2
parent76e830207900fd1ac155c5d6702335b25fff43de (diff)
downloadFreeBSD-src-68060b2236dc8453f4a0471f0b41e12e21711d18.zip
FreeBSD-src-68060b2236dc8453f4a0471f0b41e12e21711d18.tar.gz
Finally document the option to avoid zombie creation
through ignoring SIGCHLD.
Diffstat (limited to 'lib/libc/sys/wait.2')
-rw-r--r--lib/libc/sys/wait.28
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index a3ba362..4f6df2d 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -274,6 +274,14 @@ will fail and return immediately if:
.It Bq Er ECHILD
The calling process has no existing unwaited-for
child processes.
+.It Bq Er ECHILD
+No status from the terminated child process is available
+because the calling process has asked the system to discard
+such status by ignoring the signal
+.Dv SIGCHLD
+or setting the flag
+.Dv SA_NOCLDWAIT
+for that signal.
.It Bq Er EFAULT
The
.Fa status
OpenPOWER on IntegriCloud