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