|
Standard C Library Functions | strsignal(3C) |
| strsignal - get name of signal |
SYNOPSIS
|
#include <string.h> char *strsignal(int sig); |
|
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.
|
|
The strsignal() function returns NULL if sig is not a valid signal number.
|
|
If the application is linked with -lintl, messages returned from this function are in the native language specified by the LC_MESSAGES locale category; see setlocale(3C).
|
|
See attributes(5) for descriptions of the following
attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT-Level | Safe |
|
| |