summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-31 09:33:08 +0000
committerbrian <brian@FreeBSD.org>2001-07-31 09:33:08 +0000
commit2f4c944b652a090d33e78f58bc222a73bf7cb9df (patch)
tree98857242bd5375f590f7e1afa561bdf37cd86e78 /lib/libc
parent8466587a00b4e4857c829503995a7990e71f1dfe (diff)
downloadFreeBSD-src-2f4c944b652a090d33e78f58bc222a73bf7cb9df.zip
FreeBSD-src-2f4c944b652a090d33e78f58bc222a73bf7cb9df.tar.gz
Mention the sa_handler and sa_sigaction #defines in the synopsis.
Mark sa_sigaction consistently. MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sigaction.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 1e508c8..762aa45 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -52,6 +52,9 @@ struct sigaction {
int sa_flags; /* see signal options below */
sigset_t sa_mask; /* signal mask to apply */
};
+
+#define sa_handler __sigaction_u.__sa_handler
+#define sa_sigaction __sigaction_u.__sa_sigaction
.Ed
.Ft int
.Fn sigaction "int sig" "const struct sigaction *act" "struct sigaction *oact"
@@ -209,9 +212,10 @@ at the moment the signal is delivered.
.It Dv SA_RESTART
See paragraph below.
.It Dv SA_SIGINFO
-If this bit is set, the handler function is assumed to be pointed to
-by the sa_sigaction member of struct sigaction and should match the
-prototype shown above or as below in
+If this bit is set, the handler function is assumed to be pointed to by the
+.Dv sa_sigaction
+member of struct sigaction and should match the prototype shown above or as
+below in
.Sx EXAMPLES .
This bit should not be set when assigning
.Dv SIG_DFL
OpenPOWER on IntegriCloud