strsignal
—convert signal number to string#include <string.h> char *strsignal(int signal);
Description
strsignal
converts the signal number signal into a
string. If signal is not a known signal number, the result
will be of the form "Unknown signal NN" where NN is the signal
is a decimal number.
Returns
Portability
strsignal
, but does not specify the strings used
for each signal number.
strsignal
requires no supporting OS subroutines.