summaryrefslogtreecommitdiff
path: root/lib/libc/sys/sigaction.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/sigaction.2')
-rw-r--r--lib/libc/sys/sigaction.251
1 files changed, 20 insertions, 31 deletions
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 2c95e34d935..99c63f80587 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.62 2014/09/09 08:17:59 guenther Exp $
+.\" $OpenBSD: sigaction.2,v 1.63 2014/09/10 02:55:46 schwarze Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\"
-.Dd $Mdocdate: September 9 2014 $
+.Dd $Mdocdate: September 10 2014 $
.Dt SIGACTION 2
.Os
.Sh NAME
@@ -248,10 +248,6 @@ be a pointer to a
.Em siginfo_t
structure as described in
.In sys/siginfo.h .
-The
-.Em siginfo_t
-structure is a part of
-.St -p1003.1b .
It provides much more information about the causes and
attributes of the signal that is being delivered.
.It Dv SA_RESTART
@@ -425,40 +421,33 @@ or
The
.Fn sigaction
function conforms to
-.St -p1003.1-90 .
+.St -p1003.1-2008 .
+.Pp
The
.Dv SA_ONSTACK
-and
-.Dv SA_RESTART
-flags are Berkeley extensions, as are the signals
+flag and the
+.Dv SIGPROF ,
+.Dv SIGSYS ,
.Dv SIGTRAP ,
+.Dv SIGVTALRM ,
+.Dv SIGXCPU ,
+and
+.Dv SIGXFSZ
+signals conform to the X/Open System Interfaces option of that standard.
+The standard marks
+.Dv SIGPROF
+as obsolescent.
+The signals
.Dv SIGEMT ,
-.Dv SIGBUS ,
-.Dv SIGSYS ,
-.Dv SIGURG ,
+.Dv SIGINFO ,
.Dv SIGIO ,
-.Dv SIGXCPU ,
-.Dv SIGXFSZ ,
-.Dv SIGVTALRM ,
-.Dv SIGPROF ,
-.Dv SIGWINCH ,
and
-.Dv SIGINFO .
+.Dv SIGWINCH
+are Berkeley extensions.
These signals are available on most
.Bx Ns -derived
systems.
-The
-.Dv SA_NODEFER
-and
-.Dv SA_RESETHAND
-flags are intended for backwards compatibility with other operating
-systems.
-The
-.Dv SA_NOCLDSTOP ,
-.Dv SA_NOCLDWAIT ,
-and
-.Dv SA_SIGINFO
-flags are options commonly found in other operating systems.
+.Pp
The following functions are either reentrant or not interruptible
by signals and are async-signal safe.
Therefore applications may