.\"
.\" This replaces an earlier man page written by Walter Harms
.\" <walter.harms@informatik.uni-oldenburg.de>.
-.TH GSIGNAL 3 2016-03-15 "" "Linux Programmer's Manual"
+.TH GSIGNAL 3 2020-04-11 "" "Linux Programmer's Manual"
.SH NAME
gsignal, ssignal \- software signal facility
.SH SYNOPSIS
.nf
.B #include <signal.h>
-.sp
+.PP
.B typedef void (*sighandler_t)(int);
-.sp
+.PP
.BI "int gsignal(int " signum );
-.sp
+.PP
.BI "sighandler_t ssignal(int " signum ", sighandler_t " action );
.fi
-.sp
+.PP
.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
-.sp
+.PP
.BR gsignal (),
.BR ssignal ():
Since glibc 2.19:
and
.BR signal (2),
respectively.
-.LP
+.PP
Elsewhere, on System V-like systems, these functions implement
software signaling, entirely independent of the classical
.BR signal (2)
and returns the value returned by that function.
The range of possible values
.I signum
-varies (often 1-15 or 1-17).
+varies (often 1\(en15 or 1\(en17).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.BR ssignal ()
T} Thread safety MT-Safe sigintr
.TE
-
+.sp 1
.SH CONFORMING TO
These functions are available under AIX, DG/UX, HP-UX, SCO, Solaris, Tru64.
They are called obsolete under most of these systems, and are
-broken under Linux libc and glibc.
+broken under
+.\" Linux libc and
+glibc.
Some systems also have
.BR gsignal_r ()
and