signame Technical Information signame
Array of names of signals
#include <signal.h>
extern char *signame[NSIG+1];
When a program terminates abnormally, its parent process receives
a byte of termination information from the wait call. This byte
contains a signal number, as defined in the header file signal.h.
For example, SIGINT indicates an interrupt from the terminal.
The array signame, indexed by signal number, contains strings
that give the meaning of each signal. Thus, signame[SIGINT+1]
points to the string ``interrupt''. For portability reasons, all
programs which wait on child processes (such as the shell sh)
should use signame.
***** Files *****
<signal.h>
***** See Also *****
sh, signal(), technical information, wait
COHERENT Lexicon Page 1