-
Notifications
You must be signed in to change notification settings - Fork 0
/
signames.h
102 lines (97 loc) · 1.39 KB
/
signames.h
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
101
102
/** signals.h **/
/** architecture-customized signals.h for zsh **/
#define SIGCOUNT 32
#ifdef GLOBALS
char *sigmsg[SIGCOUNT+2] = {
"done",
"hangup",
"interrupt",
"quit",
"illegal hardware instruction",
"trace trap",
"abort",
"bus error",
"floating point exception",
"killed",
"user-defined signal 1",
"segmentation fault",
"user-defined signal 2",
"broken pipe",
"alarm",
"terminated",
"SIGSTKFLT",
"death of child",
"continued",
#ifdef USE_SUSPENDED
"suspended (signal)",
#else
"stopped (signal)",
#endif
#ifdef USE_SUSPENDED
"suspended",
#else
"stopped",
#endif
#ifdef USE_SUSPENDED
"suspended (tty input)",
#else
"stopped (tty input)",
#endif
#ifdef USE_SUSPENDED
"suspended (tty output)",
#else
"stopped (tty output)",
#endif
"urgent condition",
"cpu limit exceeded",
"file size limit exceeded",
"virtual time alarm",
"profile signal",
"window size changed",
"i/o ready",
"power fail",
"invalid system call",
"SIGRTMIN",
NULL
};
char *sigs[SIGCOUNT+4] = {
"EXIT",
"HUP",
"INT",
"QUIT",
"ILL",
"TRAP",
"ABRT",
"BUS",
"FPE",
"KILL",
"USR1",
"SEGV",
"USR2",
"PIPE",
"ALRM",
"TERM",
"STKFLT",
"CHLD",
"CONT",
"STOP",
"TSTP",
"TTIN",
"TTOU",
"URG",
"XCPU",
"XFSZ",
"VTALRM",
"PROF",
"WINCH",
"IO",
"PWR",
"SYS",
"RTMIN",
"ZERR",
"DEBUG",
NULL
};
#else
extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];
#endif