/*
 *  DO NOT EDIT THIS FILE   (strsignal.h)
 *  
 *  It has been autogen-ed  Friday November  5, 1999 at 01:42:01 PM PST
 *  From the definitions    strsignal.def
 *  and the template file   strsignal.tpl
 *
 *  strsignal is free software.
 *  
 *  You may redistribute it and/or modify it under the terms of the
 *  GNU General Public License, as published by the Free Software
 *  Foundation; either version 2, or (at your option) any later version.
 *  
 *  strsignal is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *  See the GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with strsignal.  See the file "COPYING".  If not,
 *  write to:  The Free Software Foundation, Inc.,
 *             59 Temple Place - Suite 330,
 *             Boston,  MA  02111-1307, USA.
 *  
 *  As a special exception, Bruce Korb gives permission for additional
 *  uses of the text contained in the release of strsignal.
 *  
 *  The exception is that, if you link the strsignal library with other
 *  files to produce an executable, this does not by itself cause the
 *  resulting executable to be covered by the GNU General Public License.
 *  Your use of that executable is in no way restricted on account of
 *  linking the strsignal library code into it.
 *  
 *  This exception does not however invalidate any other reasons why
 *  the executable file might be covered by the GNU General Public License.
 *  
 *  This exception applies only to the code released by Bruce Korb under
 *  the name strsignal.  If you copy code from other sources under the
 *  General Public License into a copy of strsignal, as the General Public
 *  License permits, the exception does not apply to the code that you add
 *  in this way.  To avoid misleading anyone as to the status of such
 *  modified files, you must delete this exception notice from them.
 *  
 *  If you write modifications of your own for strsignal, it is your choice
 *  whether to permit this exception to apply to your modifications.
 *  If you do not wish that, delete this exception notice.
 */
#ifndef MAX_SIGNAL_NUMBER
#define MAX_SIGNAL_NUMBER 31

static char zBad_0[]           = "Signal 0 invalid";
static char zSig_HUP[]         = "SIGHUP";
static char zInf_HUP[]         = "Hangup (POSIX).";
static char zSig_INT[]         = "SIGINT";
static char zInf_INT[]         = "Interrupt (ANSI).";
static char zSig_QUIT[]        = "SIGQUIT";
static char zInf_QUIT[]        = "Quit (POSIX).";
static char zSig_ILL[]         = "SIGILL";
static char zInf_ILL[]         = "Illegal instruction (ANSI).";
static char zSig_TRAP[]        = "SIGTRAP";
static char zInf_TRAP[]        = "Trace trap (POSIX).";
static char zSig_ABRT[]        = "SIGABRT";
static char zInf_ABRT[]        = "Abort (ANSI).";
static char zSig_BUS[]         = "SIGBUS";
static char zInf_BUS[]         = "BUS error (4.2 BSD).";
static char zSig_FPE[]         = "SIGFPE";
static char zInf_FPE[]         = "Floating-point exception (ANSI).";
static char zSig_KILL[]        = "SIGKILL";
static char zInf_KILL[]        = "Kill, unblockable (POSIX).";
static char zBad_10[]          = "Signal 10 invalid";
static char zSig_SEGV[]        = "SIGSEGV";
static char zInf_SEGV[]        = "Segmentation violation (ANSI).";
static char zBad_12[]          = "Signal 12 invalid";
static char zSig_PIPE[]        = "SIGPIPE";
static char zInf_PIPE[]        = "Broken pipe (POSIX).";
static char zSig_ALRM[]        = "SIGALRM";
static char zInf_ALRM[]        = "Alarm clock (POSIX).";
static char zSig_TERM[]        = "SIGTERM";
static char zInf_TERM[]        = "Termination (ANSI).";
static char zSig_STKFLT[]      = "SIGSTKFLT";
static char zInf_STKFLT[]      = "???";
static char zSig_CHLD[]        = "SIGCHLD";
static char zInf_CHLD[]        = "Child status has changed (POSIX).";
static char zSig_CONT[]        = "SIGCONT";
static char zInf_CONT[]        = "Continue (POSIX).";
static char zSig_STOP[]        = "SIGSTOP";
static char zInf_STOP[]        = "Stop, unblockable (POSIX).";
static char zSig_TSTP[]        = "SIGTSTP";
static char zInf_TSTP[]        = "Keyboard stop (POSIX).";
static char zSig_TTIN[]        = "SIGTTIN";
static char zInf_TTIN[]        = "Background read from tty (POSIX).";
static char zSig_TTOU[]        = "SIGTTOU";
static char zInf_TTOU[]        = "Background write to tty (POSIX).";
static char zSig_URG[]         = "SIGURG";
static char zInf_URG[]         = "Urgent condition on socket (4.2 BSD).";
static char zSig_XCPU[]        = "SIGXCPU";
static char zInf_XCPU[]        = "CPU limit exceeded (4.2 BSD).";
static char zSig_XFSZ[]        = "SIGXFSZ";
static char zInf_XFSZ[]        = "File size limit exceeded (4.2 BSD).";
static char zSig_VTALRM[]      = "SIGVTALRM";
static char zInf_VTALRM[]      = "Virtual alarm clock (4.2 BSD).";
static char zSig_PROF[]        = "SIGPROF";
static char zInf_PROF[]        = "Profiling alarm clock (4.2 BSD).";
static char zSig_WINCH[]       = "SIGWINCH";
static char zInf_WINCH[]       = "Window size change (4.3 BSD, Sun).";
static char zSig_IO[]          = "SIGIO";
static char zInf_IO[]          = "I/O now possible (4.2 BSD).";
static char zSig_PWR[]         = "SIGPWR";
static char zInf_PWR[]         = "Power failure restart (System V).";
static char zSig_UNUSED[]      = "SIGUNUSED";
static char zInf_UNUSED[]      = "Undescribed signal 31";

#ifndef HAVE_SYS_SIGLIST
static char* sys_siglist[] = {
  /*  0 */ zBad_0,         /*  1 */ zInf_HUP,       /*  2 */ zInf_INT,     
  /*  3 */ zInf_QUIT,      /*  4 */ zInf_ILL,       /*  5 */ zInf_TRAP,    
  /*  6 */ zInf_ABRT,      /*  7 */ zInf_BUS,       /*  8 */ zInf_FPE,     
  /*  9 */ zInf_KILL,      /* 10 */ zBad_10,        /* 11 */ zInf_SEGV,    
  /* 12 */ zBad_12,        /* 13 */ zInf_PIPE,      /* 14 */ zInf_ALRM,    
  /* 15 */ zInf_TERM,      /* 16 */ zInf_STKFLT,    /* 17 */ zInf_CHLD,    
  /* 18 */ zInf_CONT,      /* 19 */ zInf_STOP,      /* 20 */ zInf_TSTP,    
  /* 21 */ zInf_TTIN,      /* 22 */ zInf_TTOU,      /* 23 */ zInf_URG,     
  /* 24 */ zInf_XCPU,      /* 25 */ zInf_XFSZ,      /* 26 */ zInf_VTALRM,  
  /* 27 */ zInf_PROF,      /* 28 */ zInf_WINCH,     /* 29 */ zInf_IO,      
  /* 30 */ zInf_PWR,       /* 31 */ zInf_UNUSED };
#endif /* HAVE_SYS_SIGLIST */

static char* signal_names[] = {
    zBad_0,       zSig_HUP,     zSig_INT,     zSig_QUIT,    zSig_ILL,     
    zSig_TRAP,    zSig_ABRT,    zSig_BUS,     zSig_FPE,     zSig_KILL,    
    zBad_10,      zSig_SEGV,    zBad_12,      zSig_PIPE,    zSig_ALRM,    
    zSig_TERM,    zSig_STKFLT,  zSig_CHLD,    zSig_CONT,    zSig_STOP,    
    zSig_TSTP,    zSig_TTIN,    zSig_TTOU,    zSig_URG,     zSig_XCPU,    
    zSig_XFSZ,    zSig_VTALRM,  zSig_PROF,    zSig_WINCH,   zSig_IO,      
    zSig_PWR,     zSig_UNUSED };

#endif /* MAX_SIGNAL_NUMBER */
