Home | History | Annotate | Download | only in ipc_stress
      1 /*
      2  *
      3  *   Copyright (c) International Business Machines  Corp., 2001
      4  *
      5  *   This program is free software;  you can redistribute it and/or modify
      6  *   it under the terms of the GNU General Public License as published by
      7  *   the Free Software Foundation; either version 2 of the License, or
      8  *   (at your option) any later version.
      9  *
     10  *   This program is distributed in the hope that it will be useful,
     11  *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
     12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
     13  *   the GNU General Public License for more details.
     14  *
     15  *   You should have received a copy of the GNU General Public License
     16  *   along with this program;  if not, write to the Free Software
     17  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     18  */
     19 
     20 // signal names for numbers
     21 
     22 char * signames [] =
     23 {"!!ERROR - NOT A SIGNAL!!",
     24  "SIGHUP", //          1       // Hangup (POSIX).
     25  "SIGINT", //          2       // Interrupt (ANSI).
     26  "SIGQUIT", //         3       // Quit (POSIX).
     27  "SIGILL", //          4       // Illegal instruction (ANSI).
     28  "SIGTRAP", //         5       // Trace trap (POSIX).
     29  "SIGIOT/SIGABRT", //  6       // Abort (ANSI).
     30                    //  6       // IOT trap (4.2 BSD).
     31  "SIGBUS", //          7       // BUS error (4.2 BSD).
     32  "SIGFPE", //          8       // Floating-point exception (ANSI).
     33  "SIGKILL", //         9       // Kill, unblockable (POSIX).
     34  "SIGUSR1", //         10      // User-defined signal 1 (POSIX).
     35  "SIGSEGV", //         11      // Segmentation violation (ANSI).
     36  "SIGUSR2", //         12      // User-defined signal 2 (POSIX).
     37  "SIGPIPE", //         13      // Broken pipe (POSIX).
     38  "SIGALRM", //         14      // Alarm clock (POSIX).
     39  "SIGTERM", //         15      // Termination (ANSI).
     40  "SIGSTKFLT", //       16      // Stack fault.
     41  "SIGCLD/SIGCHLD", //  SIGCHLD // Same as SIGCHLD (System V).
     42  //"SIGCHLD", //       17      // Child status has changed (POSIX).
     43  "SIGCONT", //         18      // Continue (POSIX).
     44  "SIGSTOP", //         19      // Stop, unblockable (POSIX).
     45  "SIGTSTP", //         20      // Keyboard stop (POSIX).
     46  "SIGTTIN", //         21      // Background read from tty (POSIX).
     47  "SIGTTOU", //         22      // Background write to tty (POSIX).
     48  "SIGURG", //          23      // Urgent condition on socket (4.2 BSD).
     49  "SIGXCPU", //         24      // CPU limit exceeded (4.2 BSD).
     50  "SIGXFSZ", //         25      // File size limit exceeded (4.2 BSD).
     51  "SIGVTALRM", //       26      // Virtual alarm clock (4.2 BSD).
     52  "SIGPROF", //         27      // Profiling alarm clock (4.2 BSD).
     53  "SIGWINCH", //        28      // Window size change (4.3 BSD, Sun).
     54  "SIGPOLL/SIGIO", //   SIGIO   // Pollable event occurred (System V).
     55  //"SIGIO", //         29      // I/O now possible (4.2 BSD).
     56  "SIGPWR", //          30      // Power failure restart (System V).
     57  "SIGSYS/SIGUNUSED" //31      // Bad system call.
     58  //"SIGUNUSED", //       31
     59 };
     60 
     61