![]() |
![]()
| ![]() |
![]()
NAMEpsignal , strsignal ,
sys_siglist , sys_signame
—
system signal messages
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <signal.h>
void
extern const char * const sys_siglist[];
char *
DESCRIPTIONThepsignal () and strsignal ()
functions locate the descriptive message string for a signal number.
The The The message strings can be accessed directly through the external
array sys_siglist, indexed by recognized signal
numbers. The external array sys_signame is used
similarly and contains short, upper-case abbreviations for signals which are
useful for recognizing signal names in user input. The defined variable
SEE ALSOsigaction(2), perror(3), strerror(3)HISTORYThepsignal () function appeared in
4.2BSD.
|