4 # define _SIGHUP 1 /* floating point exception */
5 # define SIGINT 2 /* Interrupt */
6 # define _SIGQUIT 3 /* quit */
7 # define SIGILL 4 /* Illegal instruction (not reset when
9 # define _SIGTRAP 5 /* trace trap (not reset when caught) */
10 # define SIGABRT 6 /* Process abort signal */
11 # define _SIGIOT SIGABRT /* IOT instruction */
12 # define _SIGEMT 7 /* EMT instruction */
13 # define SIGFPE 8 /* Floating point exception */
14 # define _SIGKILL 9 /* kill (cannot be caught of 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 _SIGCHLD 18 /* Child process terminated or stopped */
24 # define _SIGCLD _SIGCHLD /* death of a child */
25 # define _SIGPWR 19 /* power state indication */
26 # define _SIGVTALRM 20 /* virtual timer alarm */
27 # define _SIGPROF 21 /* profiling timer alarm */
28 # define _SIGIO 22 /* asynchronous I/O */
29 # define _SIGPOLL _SIGIO /* for HP-UX hpstreams signal */
30 # define _SIGWINCH 23 /* window size change signal */
31 # define _SIGWINDOW _SIGWINCH /* added for compatibility reasons */
32 # define _SIGSTOP 24 /* Stop signal (cannot be caught or ignored) */
33 # define _SIGTSTP 25 /* Interactive stop signal */
34 # define _SIGCONT 26 /* Continue if stopped */
35 # define _SIGTTIN 27 /* Read from control terminal attempted by a
36 member of a background process group */
37 # define _SIGTTOU 28 /* Write to control terminal attempted by a
38 member of a background process group */
39 # define _SIGURG 29 /* urgent condition on IO channel */
40 # define _SIGLOST 30 /* remote lock lost (NFS) */
41 # define _SIGRESERVE 31 /* Save for future use */
42 # define _SIGDIL 32 /* DIL signal */
44 # define SIGUSR1 _SIGUSR1
45 # define SIGUSR2 _SIGUSR2
46 # define SIGBUS _SIGBUS
47 # define SIGTSTP _SIGTSTP
49 /* signal() args & returns */
50 #define SIG_ERR ((void (*) (__harg))-1)
51 #define SIG_DFL ((void (*) (__harg))0)
52 #define SIG_IGN ((void (*) (__harg))1)