summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
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