|
|
1.1 root 1: #ident "@(#)sgs-inc:common/signal.h 1.1"
2: #define SIGHUP 1 /* hangup */
3: #define SIGINT 2 /* interrupt (rubout) */
4: #define SIGQUIT 3 /* quit (ASCII FS) */
5: #define SIGILL 4 /* illegal instruction (not reset when caught)*/
6: #define SIGTRAP 5 /* trace trap (not reset when caught) */
7: #define SIGIOT 6 /* IOT instruction */
8: #define SIGEMT 7 /* EMT instruction */
9: #define SIGFPE 8 /* floating point exception */
10: #define SIGKILL 9 /* kill (cannot be caught or ignored) */
11: #define SIGBUS 10 /* bus error */
12: #define SIGSEGV 11 /* segmentation violation */
13: #define SIGSYS 12 /* bad argument to system call */
14: #define SIGPIPE 13 /* write on a pipe with no one to read it */
15: #define SIGALRM 14 /* alarm clock */
16: #define SIGTERM 15 /* software termination signal from kill */
17: #define SIGUSR1 16 /* user defined signal 1 */
18: #define SIGUSR2 17 /* user defined signal 2 */
19: #define SIGCLD 18 /* death of a child */
20: #define SIGPWR 19 /* power-fail restart */
21:
22: #define NSIG 20
23:
24: #define SIG_DFL (int (*)())0
25: #if lint
26: #define SIG_IGN (int (*)())0
27: #else
28: #define SIG_IGN (int (*)())1
29: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.