/* : : 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 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