summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sigaction.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/sigaction.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/sigaction.2')
-rw-r--r--lib/libc/sys/sigaction.212
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index a93ccea..451a95c 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -32,7 +32,7 @@
.\" From: @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\" $FreeBSD$
.\"
-.Dd April 3, 1994
+.Dd June 7, 2004
.Dt SIGACTION 2
.Os
.Sh NAME
@@ -201,6 +201,12 @@ a
(or equivalent), it blocks until all of the calling process's child
processes terminate, and then returns a value of -1 with errno set to
.Er ECHILD .
+The same effect of avoiding zombie creation can also be achieved by setting
+.Fa sa_handler
+for
+.Dv SIGCHLD
+to
+.Dv SIG_IGN .
.It Dv SA_ONSTACK
If this bit is set, the system will deliver the signal to the process
on a
@@ -601,6 +607,10 @@ and
.\" and
.\" SA_SIGINFO
flags are featuring options commonly found in other operating systems.
+The flags are approved by
+.St -susv2 ,
+along with the option to avoid zombie creation by ignoring
+.Dv SIGCHLD .
.Sh SEE ALSO
.Xr kill 1 ,
.Xr kill 2 ,
OpenPOWER on IntegriCloud