"Fossies" - the Fresh Open Source Software Archive

Member "hatools-2.14/sys_signame_posix.h" (16 Mar 2010, 1446 Bytes) of package /linux/privat/old/hatools-2.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sys_signame_posix.h" see the Fossies "Dox" file reference documentation.

    1 /*********************************************************************
    2 hatools (c) 2001,2003,2005-2010 by Markus Winand <mws@fatalmind.com>
    3 
    4 This program is free software; you can redistribute it and/or modify
    5 it under the terms of the GNU General Public License as published by
    6 the Free Software Foundation; either version 2 of the License, or
    7 (at your option) any later version.
    8 
    9 This program is distributed in the hope that it will be useful,
   10 but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12 GNU General Public License for more details.
   13 
   14 You should have received a copy of the GNU General Public License
   15 along with this program; if not, write to the Free Software
   16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   17 *********************************************************************/
   18 
   19 #include <signal.h>
   20 #include <stdlib.h>
   21 
   22 
   23 const char *sys_signame2[] =
   24 {
   25     "ABRT" ,
   26     "ALRM" ,
   27     "FPE" ,
   28     "HUP" ,
   29     "ILL" ,
   30     "INT" ,
   31     "KILL" ,
   32     "PIPE" ,
   33     "QUIT" ,
   34     "SEGV" ,
   35     "TERM" ,
   36     "USR1" ,
   37     "USR2" ,
   38     
   39     "CHLD" ,
   40     "CONT" ,
   41     "STOP" ,
   42     "TSTP" ,
   43     "TTIN" ,
   44     "TTOU" ,
   45     NULL
   46 };
   47 
   48 
   49 const int sys_signumber2[] =
   50 {
   51     SIGABRT ,
   52     SIGALRM ,
   53     SIGFPE ,
   54     SIGHUP ,
   55     SIGILL ,
   56     SIGINT ,
   57     SIGKILL ,
   58     SIGPIPE ,
   59     SIGQUIT ,
   60     SIGSEGV ,
   61     SIGTERM ,
   62     SIGUSR1 ,
   63     SIGUSR2 ,
   64     
   65     SIGCHLD ,
   66     SIGCONT ,
   67     SIGSTOP ,
   68     SIGTSTP ,
   69     SIGTTIN ,
   70     SIGTTOU ,
   71     0
   72 };
   73 
   74 
   75 const unsigned int sys_nsigname2 = 20;