sigaction.2: Minor reworking of Alejandro Colomar's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-08-09 02:22:26 +02:00
parent ef0350ce4c
commit eb0ea88505
1 changed files with 4 additions and 1 deletions

View File

@ -936,6 +936,9 @@ because they were introduced before Linux 5.11.
However, in general, programs may assume that these flags are supported,
since they have all been supported since Linux 2.6,
which was released in the year 2003.
.PP
See EXAMPLES below for a demonstration of the use of
.BR SA_UNSUPPORTED .
.SH RETURN VALUE
.BR sigaction ()
returns 0 on success; on error, \-1 is returned, and
@ -1141,7 +1144,7 @@ This bug was fixed in kernel 2.6.14.
.SH EXAMPLES
See
.BR mprotect (2).
.PP
.SS Probing for flag support
The following example program exits with status
.B EXIT_SUCCESS
if