summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-10 02:55:47 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-10 02:55:47 +0000
commita52b9642f9964ed1ea68228191a5ddfcc59b504f (patch)
tree5f94f5a2434d09b9da62b62e4696d639044ab5f7
parent8b87ea55f7640d7d60571408e3ace0a6c56fbf75 (diff)
update STANDARDS reference from POSIX 1990 to POSIX 2008;
joint work with and ok guenther@
-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