summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-04-15 08:32:50 +0000
committerkib <kib@FreeBSD.org>2010-04-15 08:32:50 +0000
commit0531c74881a9fc33b22c265e562f989e60e764e8 (patch)
tree5fd9f7f0238f3988fd09efcac7c84c9e1b7fc44d /lib/libc
parent701362298a45b9cbad4eb689b7e1b22003edad3d (diff)
downloadFreeBSD-src-0531c74881a9fc33b22c265e562f989e60e764e8.zip
FreeBSD-src-0531c74881a9fc33b22c265e562f989e60e764e8.tar.gz
Still reference struct __sigaction with clarification when this form
of argument declaration is needed. Discussed with: bde MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sigaction.210
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 9bd4c9e..51b6c47 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -496,6 +496,16 @@ or
.Dv SIG_IGN
this way.
.Pp
+If preprocessing symbol
+.Va _POSIX_C_SOURCE
+with the value >= 199309 is not defined, the following declaration for
+the handler shall be used:
+.Bl -tag -offset indent -width short
+.It Tn POSIX Dv SA_SIGINFO :
+.Ft void
+.Fn handler int "struct __sigaction *" "void *" ;
+.El
+.Pp
If the
.Dv SA_SIGINFO
flag is not set, the handler function should match
OpenPOWER on IntegriCloud