sigaction.2: Add a subheading for the description of 'si_code'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-06-16 08:07:30 +02:00
parent 8d4b857991
commit 6b94000d63
1 changed files with 10 additions and 2 deletions

View File

@ -527,9 +527,17 @@ fills in
.IR si_errno ,
and other fields as described in
.BR seccomp (2).
.PP
.\"
.SS
The si_code field
The
.I si_code
is a value (not a bit mask) indicating why this signal was sent.
field inside the
.I siginfo_t
argument that is passed to a
.B SA_SIGINFO
signal handler is a value (not a bit mask)
indicating why this signal was sent.
For a
.BR ptrace (2)
event,