Return the description of a signal
#include <string.h> char *strsignal( int signo );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The strsignal() function returns a pointer to the language-dependent string describing a signal.
A pointer to the description of the signal, or NULL if signo isn't a valid signal number. This array will be overwritten by subsequent calls to strsignal().
Don't modify the array returned by this function. |
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |