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 POSIX signal.
A pointer to the description of the signal.
As a QNX Neutrino extension, this function returns a pointer to an empty string if signo isn't a valid signal number or is the number of a QNX Neutrino signal.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |