skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

sig_table.c (1411B)


      1  /* ISC license. */
      2 
      3 #include <skalibs/nonposix.h>
      4 
      5 #include <signal.h>
      6 
      7 #include "sig-internal.h"
      8 
      9 sigtable const skalibs_sigtable[] =
     10 {
     11   { SIGABRT, "ABRT" },
     12   { SIGALRM, "ALRM" },
     13   { SIGBUS, "BUS" },
     14   { SIGCHLD, "CHLD" },
     15   { SIGCONT, "CONT" },
     16   { SIGFPE, "FPE" },
     17   { SIGHUP, "HUP" },
     18   { SIGILL, "ILL" },
     19   { SIGINT, "INT" },
     20   { SIGKILL, "KILL" },
     21   { SIGPIPE, "PIPE" },
     22   { SIGQUIT, "QUIT" },
     23   { SIGSEGV, "SEGV" },
     24   { SIGSTOP, "STOP" },
     25   { SIGTERM, "TERM" },
     26   { SIGTSTP, "TSTP" },
     27   { SIGTTIN, "TTIN" },
     28   { SIGTTOU, "TTOU" },
     29   { SIGUSR1, "USR1" },
     30   { SIGUSR2, "USR2" },
     31 #ifdef SIGPOLL
     32   { SIGPOLL, "POLL" },
     33 #endif
     34 #ifdef SIGPROF
     35   { SIGPROF, "PROF" },
     36 #endif 
     37 #ifdef SIGSYS
     38   { SIGSYS, "SYS" },
     39 #endif
     40 #ifdef SIGTRAP
     41   { SIGTRAP, "TRAP" },
     42 #endif
     43 #ifdef SIGURG
     44   { SIGURG, "URG" },
     45 #endif
     46 #ifdef SIGVTALRM
     47   { SIGVTALRM, "VTALRM" },
     48 #endif
     49 #ifdef SIGXCPU
     50   { SIGXCPU, "XCPU" },
     51 #endif
     52 #ifdef SIGXFSZ
     53   { SIGXFSZ, "XFSZ" },
     54 #endif
     55 #ifdef SIGIOT
     56   { SIGIOT, "IOT" },
     57 #endif
     58 #ifdef SIGEMT
     59   { SIGEMT, "EMT" },
     60 #endif
     61 #ifdef SIGSTKFLT
     62   { SIGSTKFLT, "STKFLT" },
     63 #endif
     64 #ifdef SIGCLD
     65   { SIGCLD, "CLD" },
     66 #endif
     67 #ifdef SIGWINCH
     68   { SIGWINCH, "WINCH" },
     69 #endif
     70 #ifdef SIGIO
     71   { SIGIO, "IO" },
     72 #endif
     73 #ifdef SIGINFO
     74   { SIGINFO, "INFO" },
     75 #endif
     76 #ifdef SIGLOST
     77   { SIGLOST, "LOST" },
     78 #endif
     79 #ifdef SIGPWR
     80   { SIGPWR, "PWR" },
     81 #endif
     82 #ifdef SIGUNUSED
     83   { SIGUNUSED, "UNUSED" },
     84 #endif
     85   { 0, 0 }
     86 } ;