1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef TERM_SIG_H
# define TERM_SIG_H
# include <signal.h>
static int const term_sig[] =
{
SIGALRM, /* our timeout. */
SIGINT, /* Ctrl-C at terminal for example. */
SIGQUIT, /* Ctrl-\ at terminal for example. */
SIGHUP, /* terminal closed for example. */
SIGTERM, /* if terminated, stop monitored proc. */
SIGPIPE, SIGUSR1, SIGUSR2,
SIGILL, SIGTRAP, SIGABRT, SIGBUS, SIGFPE, SIGSEGV,
# ifdef SIGXCPU
SIGXCPU,
# endif
# ifdef SIGXFSZ
SIGXFSZ,
# endif
# ifdef SIGSYS
SIGSYS,
# endif
# ifdef SIGVTALRM
SIGVTALRM,
# endif
# ifdef SIGPROF
SIGPROF,
# endif
# ifdef SIGPOLL
SIGPOLL,
# endif
# ifdef SIGPWR
SIGPWR,
# endif
# ifdef SIGSTKFLT
SIGSTKFLT,
# endif
# ifdef SIGEMT
SIGEMT,
# endif
# ifdef SIGBREAK
SIGBREAK,
# endif
};
#endif
|