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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
|
/* : : generated by proto : : */
/* : : generated from contrib/ast/src/lib/libast/features/signal.c by iffe version 2012-07-17 : : */
#ifndef _def_signal_ast
#if !defined(__PROTO__)
# if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
# if defined(__cplusplus)
# define __LINKAGE__ "C"
# else
# define __LINKAGE__
# endif
# define __STDARG__
# define __PROTO__(x) x
# define __OTORP__(x)
# define __PARAM__(n,o) n
# if !defined(__STDC__) && !defined(__cplusplus)
# if !defined(c_plusplus)
# define const
# endif
# define signed
# define void int
# define volatile
# define __V_ char
# else
# define __V_ void
# endif
# else
# define __PROTO__(x) ()
# define __OTORP__(x) x
# define __PARAM__(n,o) o
# define __LINKAGE__
# define __V_ char
# define const
# define signed
# define void int
# define volatile
# endif
# define __MANGLE__ __LINKAGE__
# if defined(__cplusplus) || defined(c_plusplus)
# define __VARARG__ ...
# else
# define __VARARG__
# endif
# if defined(__STDARG__)
# define __VA_START__(p,a) va_start(p,a)
# else
# define __VA_START__(p,a) va_start(p)
# endif
# if !defined(__INLINE__)
# if defined(__cplusplus)
# define __INLINE__ extern __MANGLE__ inline
# else
# if defined(_WIN32) && !defined(__GNUC__)
# define __INLINE__ __inline
# endif
# endif
# endif
#endif
#if !defined(__LINKAGE__)
#define __LINKAGE__ /* 2004-08-11 transition */
#endif
#define _def_signal_ast 1
#define _sys_types 1 /* #include <sys/types.h> ok */
#define SIG_MAX 73
static const char* const sig_name[] =
{
"0",
"HUP",
"INT",
"QUIT",
"ILL",
"TRAP",
"IOT",
"EMT",
"FPE",
"KILL",
"BUS",
"SEGV",
"SYS",
"PIPE",
"ALRM",
"TERM",
"USR1",
"USR2",
"CHLD",
"PWR",
"WINCH",
"URG",
"IO",
"STOP",
"TSTP",
"CONT",
"TTIN",
"TTOU",
"VTALRM",
"PROF",
"XCPU",
"XFSZ",
"WAITING",
"LWP",
"FREEZE",
"THAW",
"CANCEL",
"LOST",
"XRES",
"JVM1",
"JVM2",
"INFO",
"RTMIN",
"RTMIN+1",
"RTMIN+2",
"RTMIN+3",
"RTMIN+4",
"RTMIN+5",
"RTMIN+6",
"RTMIN+7",
"RTMIN+8",
"RTMIN+9",
"RTMIN+10",
"RTMIN+11",
"RTMIN+12",
"RTMIN+13",
"RTMIN+14",
"RTMIN+15",
"RTMAX-15",
"RTMAX-14",
"RTMAX-13",
"RTMAX-12",
"RTMAX-11",
"RTMAX-10",
"RTMAX-9",
"RTMAX-8",
"RTMAX-7",
"RTMAX-6",
"RTMAX-5",
"RTMAX-4",
"RTMAX-3",
"RTMAX-2",
"RTMAX-1",
"RTMAX",
0
};
static const char* const sig_text[] =
{
"Signal 0",
"Hangup",
"Interrupt",
"Quit",
"Illegal instruction",
"Trace trap",
"IOT trap",
"EMT trap",
"Floating exception",
"Killed",
"Bus error",
"Memory fault",
"Bad system call",
"Broken pipe",
"Alarm call",
"Terminated",
"User signal 1",
"User signal 2",
"Child status change",
"Power fail",
"Window change",
"Urgent IO",
"IO possible",
"Stopped (signal)",
"Stopped",
"Stopped process continued",
"Stopped (tty input)",
"Stopped (tty output)",
"Virtual timer alarm",
"Profile timer alarm",
"CPU time limit",
"File size limit",
"All threads blocked",
"Thread event",
"CPR freeze",
"CPR thaw",
"Thread Cancellation",
"Resources lost",
"Resource Control Exceeded",
"Reserved for JVM 1",
"Reserved for JVM 2",
"Information Request",
"Realtime priority 0 (lo)",
"Realtime priority 1",
"Realtime priority 2",
"Realtime priority 3",
"Realtime priority 4",
"Realtime priority 5",
"Realtime priority 6",
"Realtime priority 7",
"Realtime priority 8",
"Realtime priority 9",
"Realtime priority 10",
"Realtime priority 11",
"Realtime priority 12",
"Realtime priority 13",
"Realtime priority 14",
"Realtime priority 15",
"Realtime priority 16",
"Realtime priority 17",
"Realtime priority 18",
"Realtime priority 19",
"Realtime priority 20",
"Realtime priority 21",
"Realtime priority 22",
"Realtime priority 23",
"Realtime priority 24",
"Realtime priority 25",
"Realtime priority 26",
"Realtime priority 27",
"Realtime priority 28",
"Realtime priority 29",
"Realtime priority 30",
"Realtime priority 31 (hi)",
0
};
#endif
|