From 74bd6d9d66b7f58d4f422c2187edfaf958f0f2b3 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 31 Jul 2001 09:33:08 +0000 Subject: [PATCH] Mention the sa_handler and sa_sigaction #defines in the synopsis. Mark sa_sigaction consistently. MFC after: 1 week --- lib/libc/sys/sigaction.2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 1e508c8d16f..762aa45206a 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