1 /* Begin include file signal.h */ 2 /* @(#)signal.h 6.1 */ 3 4 extern char *signal(); 5 6 #define SIGHUP 1 /* hangup */ 7 #define SIGINT 2 /* interrupt (rubout) */ 8 #define SIGQUIT 3 /* quit (ASCII FS) */ 9 #define SIGILL 4 /* illegal instruction (not reset when caught)*/ 10 #define SIGTRAP 5 /* trace trap (not reset when caught) */ 11 #define SIGIOT 6 /* IOT instruction */ 12 #define SIGEMT 7 /* EMT instruction */ 13 #define SIGFPE 8 /* floating point exception */ 14 #define SIGKILL 9 /* kill (cannot be caught or ignored) */ 15 #define SIGBUS 10 /* bus error */ 16 #define SIGSEGV 11 /* segmentation violation */ 17 #define SIGSYS 12 /* bad argument to system call */ 18 #define SIGPIPE 13 /* write on a pipe with no one to read it */ 19 #define SIGALRM 14 /* alarm clock */ 20 #define SIGTERM 15 /* software termination signal from kill */ 21 #define SIGUSR1 16 /* user defined signal 1 */ 22 #define SIGUSR2 17 /* user defined signal 2 */ 23 #define SIGCLD 18 /* death of a child */ 24 #define SIGPWR 19 /* power-fail restart */ 25 26 #define NSIG 20 27 28 /* users should NEVER EVER references through these values */ 29 30 extern char *SIG_DFL; 31 extern char *SIG_IGN; 32 33 /* End include file signal.h */