OpenSolaris_b135/lib/libast/i386/src/lib/libast/FEATURE/signal


/* : : generated by proto : : */
/* : : generated from /home/gisburn/ksh93/ast_ksh_20091014/build_i386_32bit/src/lib/libast/features/signal.c by iffe version 2009-10-06 : : */
#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	48

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",
	"RTMIN",
	"RTMIN+1",
	"RTMIN+2",
	"RTMIN+3",
	"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",
	"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 (hi)",
	0
};
#endif