4 #define SIGHUP 1 /* hangup */
5 #define SIGINT 2 /* interrupt (rubout) */
6 #define SIGQUIT 3 /* quit (ASCII FS) */
7 #define SIGILL 4 /* illegal instruction (not reset when caught) */
8 #define SIGTRAP 5 /* trace trap (not reset when caught) */
9 #define SIGIOT 6 /* IOT instruction */
10 #define SIGABRT 6 /* used by abort, replace SIGIOT in the future */
11 #define SIGEMT 7 /* EMT instruction */
12 #define SIGFPE 8 /* floating point exception */
13 #define SIGKILL 9 /* kill (cannot be caught or ignored) */
14 #define SIGBUS 10 /* bus error */
15 #define SIGSEGV 11 /* segmentation violation */
16 #define SIGSYS 12 /* bad argument to system call */
17 #define SIGPIPE 13 /* write on a pipe with no one to read it */
18 #define SIGALRM 14 /* alarm clock */
19 #define SIGTERM 15 /* software termination signal from kill */
20 #define SIGUSR1 16 /* user defined signal 1 */
21 #define SIGUSR2 17 /* user defined signal 2 */
22 #define SIGCLD 18 /* child status change */
23 #define SIGCHLD 18 /* child status change alias (POSIX) */
24 #define SIGPWR 19 /* power-fail restart */
25 #define SIGWINCH 20 /* window size change */
26 #define SIGURG 21 /* urgent socket condition */
27 #define SIGPOLL 22 /* pollable event occured */
28 #define SIGIO SIGPOLL /* socket I/O possible (SIGPOLL alias) */
29 #define SIGSTOP 23 /* stop (cannot be caught or ignored) */
30 #define SIGTSTP 24 /* user stop requested from tty */
31 #define SIGCONT 25 /* stopped process has been continued */
32 #define SIGTTIN 26 /* background tty read attempted */
33 #define SIGTTOU 27 /* background tty write attempted */
34 #define SIGVTALRM 28 /* virtual timer expired */
35 #define SIGPROF 29 /* profiling timer expired */
36 #define SIGXCPU 30 /* exceeded cpu limit */
37 #define SIGXFSZ 31 /* exceeded file size limit */
38 #define SIGWAITING 32 /* process's lwps are blocked */
39 #define SIGLWP 33 /* special signal used by thread library */
40 #define SIGFREEZE 34 /* special signal used by CPR */
41 #define SIGTHAW 35 /* special signal used by CPR */
43 /* signal() args & returns */
44 #define SIG_DFL (void(*)())0
45 #define SIG_ERR (void(*)())-1
46 #define SIG_IGN (void (*)())1
47 #define SIG_HOLD (void(*)())2