From eb0ea88505da9ed72f3b663fb3f53788aaa9ce05 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 9 Aug 2021 02:22:26 +0200 Subject: [PATCH] sigaction.2: Minor reworking of Alejandro Colomar's patch Signed-off-by: Michael Kerrisk --- man2/sigaction.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index 3225dc990..9d804a063 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -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