strsignal(3)


NAME

   strsignal - return string describing signal

SYNOPSIS

   #include <string.h>

   char *strsignal(int sig);

   extern const char * const sys_siglist[];

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

   strsignal():
       Since glibc 2.10:
           _POSIX_C_SOURCE >= 200809L
       Before glibc 2.10:
           _GNU_SOURCE

DESCRIPTION

   The  strsignal() function returns a string describing the signal number
   passed in the argument sig.  The string can be used only until the next
   call to strsignal().

   The  array  sys_siglist holds the signal description strings indexed by
   signal number.  The strsignal() function should  be  used  if  possible
   instead of this array.

RETURN VALUE

   The strsignal() 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.

ATTRIBUTES

   For  an  explanation  of  the  terms  used   in   this   section,   see
   attributes(7).

   
   Interface    Attribute      Value                           
   
   strsignal()  Thread safety  MT-Unsafe race:strsignal locale 
   

CONFORMING TO

   POSIX.1-2008.  Present on Solaris and the BSDs.

SEE ALSO

   psignal(3), strerror(3)

COLOPHON

   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at
   https://www.kernel.org/doc/man-pages/.


More Linux Commands

manpages/svcerr_auth.3.html
svcerr_auth(3) - library routines for remote procedure calls
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

manpages/floorl.3.html
floorl(3) - largest integral value not greater than argument
These functions return the largest integral value that is not greater than x. For example, floor(0.5) is 0.0, and floor(-0.5) is -1.0. RETURN VALUE These functi

manpages/signbit.3.html
signbit(3) - test sign of a real floating-point number......
signbit() is a generic macro which can work on all real floating-point types. It returns a nonzero value if the value of x has its sign bit set. This is not the

manpages/XClearWindow.3.html
XClearWindow(3) - clear area or window - Linux manual page
The XClearArea function paints a rectangular area in the specified window according to the specified dimensions with the windows background pixel or pixmap. The

manpages/XtManageChild.3.html
XtManageChild(3) - manage and unmanage children (Man Page)
The XtManageChildren function performs the following: * Issues an error if the children do not all have the same parent or if the parent is not a subclass of co

manpages/hosts_access.5.html
hosts_access(5) - format of host access control files.......
This manual page describes a simple access control language that is based on client (host name/address, user name), and server (process name, host name/address)

manpages/latin9.7.html
latin9(7) - ISO 8859-15 character set encoded in octal, deci
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). Especially important is ISO 8859-1, the Latin Al

manpages/tcl_patchLevel.n.html
tcl_patchLevel(n) Variables used by Tcl ____________________
The following global variables are created and managed automatically by the Tcl library. Except where noted below, these variables should normally be treated as

manpages/gnutls_global_init.3.html
gnutls_global_init(3) - API function - Linux manual page....
This function initializes the global data to defaults. Every gnutls application has a global data which holds common parameters shared by gnutls session structu

manpages/Tcl_Read.3.html
Tcl_Read(3) - buffered I/O facilities using channels........
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

manpages/glGetTexImage.3gl.html
glGetTexImage(3gl) - return a texture image - Linux man page
glGetTexImage returns a texture image into pixels. target specifies whether the desired texture image is one specified by glTexImage1D (- GL_TEXTURE_1D), glTexI

manpages/gnutls_x509_crt_get_verify_algorithm.3.html
gnutls_x509_crt_get_verify_algorithm(3) - API function......
This function will read the certifcate and the signed data to determine the hash algorithm used to generate the signature. DEPRECATED Use gnutls_pubkey_get_veri





We can't live, work or learn in freedom unless the software we use is free.