1 | #ifndef _SHARED_SIGNAL_H_ |
---|
2 | #define _SHARED_SIGNAL_H_ |
---|
3 | |
---|
4 | |
---|
5 | /******************************************************************************************* |
---|
6 | * This defines the signal type mnemonics for the kill() syscall. |
---|
7 | * WARNING : Only the three SIGKILL / SIGSTOP / SIGCONT are supported (december 2017) |
---|
8 | ******************************************************************************************/ |
---|
9 | |
---|
10 | #define SIGHUP 1 /*! hangup */ |
---|
11 | #define SIGINT 2 /*! interrupt */ |
---|
12 | #define SIGQUIT 3 /*! quit */ |
---|
13 | #define SIGILL 4 /*! illegal instruction (not reset when caught) */ |
---|
14 | #define SIGTRAP 5 /*! trace trap (not reset when caught) */ |
---|
15 | #define SIGABRT 6 /*! used by abort, replace SIGIOT in the future */ |
---|
16 | #define SIGEMT 7 /*! EMT instruction */ |
---|
17 | #define SIGFPE 8 /*! floating point exception */ |
---|
18 | #define SIGKILL 9 /*! kill (cannot be caught or ignored) */ |
---|
19 | #define SIGBUS 10 /*! bus error */ |
---|
20 | #define SIGSEGV 11 /*! segmentation violation */ |
---|
21 | #define SIGSYS 12 /*! bad argument to system call */ |
---|
22 | #define SIGPIPE 13 /*! write on a pipe with no one to read it */ |
---|
23 | #define SIGALRM 14 /*! alarm clock */ |
---|
24 | #define SIGTERM 15 /*! software termination signal from kill */ |
---|
25 | #define SIGURG 16 /*! urgent condition on IO channel */ |
---|
26 | #define SIGSTOP 17 /*! sendable stop signal not from tty */ |
---|
27 | #define SIGTSTP 18 /*! stop signal from tty */ |
---|
28 | #define SIGCONT 19 /*! continue a stopped process */ |
---|
29 | #define SIGCHLD 20 /*! to parent on child stop or exit */ |
---|
30 | #define SIGTTIN 21 /*! to readers pgrp upon background tty read */ |
---|
31 | #define SIGTTOU 22 /*! like TTIN for output if (tp->t_local<OSTOP) */ |
---|
32 | #define SIGIO 23 /*! input/output possible signal */ |
---|
33 | #define SIGXCPU 24 /*! exceeded CPU time limit */ |
---|
34 | #define SIGXFSZ 25 /*! exceeded file size limit */ |
---|
35 | #define SIGVTALRM 26 /*! virtual time alarm */ |
---|
36 | #define SIGPROF 27 /*! profiling time alarm */ |
---|
37 | #define SIGWINCH 28 /*! window changed */ |
---|
38 | #define SIGLOST 29 /*! resource lost (eg, record-lock lost) */ |
---|
39 | #define SIGUSR1 30 /*! user defined signal 1 */ |
---|
40 | #define SIGUSR2 31 /*! user defined signal 2 */ |
---|
41 | |
---|
42 | #endif |
---|