]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/strsignal.3
fuse.4: ffix
[thirdparty/man-pages.git] / man3 / strsignal.3
index 8c82a6f97f4e41f1f1a21808a2cc5a4898de3ed3..ffa8d7b3551d0774a686046a0894ad7ba94be32d 100644 (file)
 .\"     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
@@ -81,6 +81,19 @@ function returns the appropriate description
 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.