Mention the sa_handler and sa_sigaction #defines in the synopsis.

Mark sa_sigaction consistently.

MFC after: 1 week
This commit is contained in:
Brian Somers 2001-07-31 09:33:08 +00:00
parent ed09c8a4a0
commit 74bd6d9d66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80723

View file

@ -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