Through some accident, 'sys_siglist' has been documented in
two different pages. Consolidate the information to one page
(strsignal(3)) and add 'sys_siglist" to the NAME line of that
page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.PP
.BI "void psignal(int " sig ", const char *" s );
.BI "void psiginfo(const siginfo_t *" pinfo ", const char *" s );
-.PP
-.BI "extern const char *const " sys_siglist [];
.fi
.PP
.RS -4
.br
.BR psiginfo ():
_POSIX_C_SOURCE\ >=\ 200809L
-.br
-.IR sys_siglist :
- Since glibc 2.19:
- _DEFAULT_SOURCE
- Glibc 2.19 and earlier:
- _BSD_SOURCE
.SH DESCRIPTION
The
.BR psignal ()
.BR kill (2)
or
.BR sigqueue (3)).
-.PP
-The array \fIsys_siglist\fP holds the signal description strings
-indexed by signal number.
.SH RETURN VALUE
The
.BR psignal ()
.\" Modified Sat Jul 24 17:59:03 1993 by Rik Faith (faith@cs.unc.edu)
.TH STRSIGNAL 3 2017-09-15 "GNU" "Linux Programmer's Manual"
.SH NAME
-strsignal \- return string describing signal
+strsignal, sys_siglist \- return string describing signal
.SH SYNOPSIS
.nf
.B #include <string.h>
Before glibc 2.10:
_GNU_SOURCE
.RE
+.br
+.IR sys_siglist :
+ Since glibc 2.19:
+ _DEFAULT_SOURCE
+ Glibc 2.19 and earlier:
+ _BSD_SOURCE
.ad
.PD
.SH DESCRIPTION
indexed by signal number.
The
.BR strsignal ()
-function should be
-used if possible instead of this array.
+function should be used instead of this array.
.SH RETURN VALUE
The
.BR strsignal ()