.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 17:59:03 1993 by Rik Faith (faith@cs.unc.edu)
-.TH STRSIGNAL 3 2010-09-15 "GNU" "Linux Programmer's Manual"
+.TH STRSIGNAL 3 2017-09-15 "GNU" "Linux Programmer's Manual"
.SH NAME
strsignal \- return string describing signal
.SH SYNOPSIS
.nf
.B #include <string.h>
-.sp
+.PP
.BI "char *strsignal(int " sig );
-.sp
+.PP
.BI "extern const char * const " sys_siglist [];
.fi
-.sp
+.PP
.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
-.sp
+.PP
.BR strsignal ():
.PD 0
.ad l
.RS 4
.TP 4
Since glibc 2.10:
-_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
+_POSIX_C_SOURCE\ >=\ 200809L
.TP
Before glibc 2.10:
_GNU_SOURCE
string, or an unknown signal message if the signal number is invalid.
On some systems (but not on Linux), NULL may instead be
returned for an invalid signal number.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lbw31
+l l l.
+Interface Attribute Value
+T{
+.BR strsignal ()
+T} Thread safety MT-Unsafe race:strsignal locale
+.TE
+.sp 1
.SH CONFORMING TO
POSIX.1-2008.
Present on Solaris and the BSDs.