@ page 303 line 10814 section <signal.h> editorial {bjh21:sa_sigaction decl}
Problem:
The declaration given for the sa_sigaction member of struct sigaction is
not syntactically valid.
Action:
Replace:
void (*)(int, siginfo_t *, void *) sa_sigaction
with:
void (*sa_sigaction)(int, siginfo_t *, void *)
@ page 303 line 10810-10816 section <signal.h> comment {bjh21:sigaction}
Problem:
The text claims that the sa_sigaction member of struct sigaction can have
the values SIG_DFL or SIG_IGN. At XSH page 1338 line 41432-41439 section
sigaction(), on the other hand, these aren't mentioned as possible values
for sa_sigaction, but are mentioned as possible values for sa_handler. I
believe that the specification under sigaction() is correct, though it's
notable that the use of SIG_DFL and SIG_IGN isn't documented in
sigaction() at all.
Action:
(1) At line 10810, replace "What to do on receipt of signal" with
"SIG_DFL, SIG_IGN, or pointer to a function".
(2) At line 10815-10816, replace "Pointer to signal handler function or
one of the macros SIG_IGN or SIG_DFL" with "Signal-catching function"
|