-
Notifications
You must be signed in to change notification settings - Fork 0
/
signal.tab
100 lines (99 loc) · 2.4 KB
/
signal.tab
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/*
* NIGEL: This file contains definitions for signal-related information in a
* way that allows a variety of tables/switch statements to be built at
* compile-time. It's portable, too. The signals below are in numeric order
* for SVR4 ABI or iBCS2 systems, but please don't depend on that.
*/
#ifdef SIGHUP
SIGNAL (SIGHUP, HUP, "hangup (device disconnected)")
#endif
#ifdef SIGINT
SIGNAL (SIGINT, INT, "interrupt")
#endif
#ifdef SIGQUIT
SIGNAL (SIGQUIT, QUIT, "quit")
#endif
#ifdef SIGILL
SIGNAL (SIGILL, ILL, "illegal instruction")
#endif
#ifdef SIGTRAP
SIGNAL (SIGTRAP, TRAP, "trace/breakpoint trap")
#endif
#ifdef SIGABRT
SIGNAL (SIGABRT, ABRT, "abort - abnormal termination")
#endif
#ifdef SIGEMT
SIGNAL (SIGEMT, EMT, "Emulation trap")
#endif
#ifdef SIGFPE
SIGNAL (SIGFPE, FPE, "Floating-point/arithemetic exception")
#endif
#ifdef SIGKILL
SIGNAL (SIGKILL, KILL, "killed")
#endif
#ifdef SIGBUS
SIGNAL (SIGBUS, BUS, "bus error")
#endif
#ifdef SIGSEGV
SIGNAL (SIGSEGV, SEGV, "segmentation violation")
#endif
#ifdef SIGSYS
SIGNAL (SIGSYS, SYS, "bad system call")
#endif
#ifdef SIGPIPE
SIGNAL (SIGPIPE, PIPE, "broken pipe")
#endif
#ifdef SIGALRM
SIGNAL (SIGALRM, ALRM, "alarm timer expired")
#endif
#ifdef SIGTERM
SIGNAL (SIGTERM, TERM, "termination")
#endif
#ifdef SIGUSR1
SIGNAL (SIGUSR1, USR1, "user-defined signal #1")
#endif
#ifdef SIGUSR2
SIGNAL (SIGUSR2, USR2, "user-defined signal #2")
#endif
#ifdef SIGCHLD
SIGNAL (SIGCHLD, CHLD, "child status changed")
#endif
#ifdef SIGPWR
SIGNAL (SIGPWR, PWR, "power failure/restart")
#endif
#ifdef SIGWINCH
SIGNAL (SIGWINCH, WINCH, "window size changed")
#endif
#ifdef SIGURG
SIGNAL (SIGURG, URG, "urgent data available")
#endif
#ifdef SIGPOLL
SIGNAL (SIGPOLL, POLL, "pollable event occurred")
#endif
#ifdef SIGSTOP
SIGNAL (SIGSTOP, STOP, "job control - stop")
#endif
#ifdef SIGTSTP
SIGNAL (SIGTSTP, TSTP, "job control - interactive stop")
#endif
#ifdef SIGCONT
SIGNAL (SIGCONT, CONT, "job control - continue")
#endif
#ifdef SIGTTIN
SIGNAL (SIGTTIN, TTIN, "job control - terminal input")
#endif
#ifdef SIGTTOU
SIGNAL (SIGTTOU, TTOU, "job control - terminal output")
#endif
#ifdef SIGVTALARM
SIGNAL (SIGVTALARM, VTALARM, "virtual timer expired")
#endif
#ifdef SIGPROF
SIGNAL (SIGPROF, PROF, "profiling timer expired")
#endif
#ifdef SIGXCPU
SIGNAL (SIGXCPU, XCPU, "CPU time limit exceeded")
#endif
#ifdef SIGXFSZ
SIGNAL (SIGXFSZ, XFSZ, "file size limit exceeded")
#endif