summaryrefslogtreecommitdiffstats
path: root/man3/sysv_signal.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sysv_signal.3')
-rw-r--r--man3/sysv_signal.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/sysv_signal.3 b/man3/sysv_signal.3
index 84d77fe..0c0c161 100644
--- a/man3/sysv_signal.3
+++ b/man3/sysv_signal.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH sysv_signal 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH sysv_signal 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sysv_signal \- signal handling with System V semantics
.SH LIBRARY
@@ -13,9 +13,9 @@ Standard C library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <signal.h>
-.PP
+.P
.B typedef void (*sighandler_t)(int);
-.PP
+.P
.BI "sighandler_t sysv_signal(int " signum ", sighandler_t " handler );
.fi
.SH DESCRIPTION
@@ -23,7 +23,7 @@ The
.BR sysv_signal ()
function takes the same arguments, and performs the same task, as
.BR signal (2).
-.PP
+.P
However
.BR sysv_signal ()
provides the System V unreliable signal semantics, that is:
@@ -56,14 +56,13 @@ T{
.BR sysv_signal ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
Use of
.BR sysv_signal ()
should be avoided; use
.BR sigaction (2)
instead.
-.PP
+.P
On older Linux systems,
.BR sysv_signal ()
and
@@ -74,7 +73,7 @@ But on newer systems,
provides reliable signal semantics; see
.BR signal (2)
for details.
-.PP
+.P
The use of
.I sighandler_t
is a GNU extension;