opensolaris man page for strsignal

Query: strsignal

OS: opensolaris

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

strsignal(3C)						   Standard C Library Functions 					     strsignal(3C)

NAME
strsignal - get name of signal
SYNOPSIS
#include <string.h> char *strsignal(int sig);
DESCRIPTION
The strsignal() function maps the signal number in sig to a string describing the signal and returns a pointer to that string. It uses the same set of the messages as psignal(3C). The returned string should not be overwritten.
RETURN VALUES
The strsignal() function returns NULL if sig is not a valid signal number.
USAGE
Messages returned from this function are in the native language specified by the LC_MESSAGES locale category. See setlocale(3C).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+
SEE ALSO
gettext(3C), psignal(3C), setlocale(3C), str2sig(3C), attributes(5) SunOS 5.11 31 Mar 2005 strsignal(3C)
Related Man Pages
strsignal(3c) - sunos
strsignal(3) - minix
strsignal(3) - opendarwin
strsignal(3) - xfree86
strsignal(3) - v7
Similar Topics in the Unix Linux Community
gcc -3.4.6 solaris installation error
2 Problems: Segfault on ctrl+c and syslog() prob
Code snippet for signals
NTP synchronised problem in our Centos 7.6 node