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