home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / ixemulsrc.lha / ixemul / general / siglist.c < prev    next >
C/C++ Source or Header  |  1996-12-11  |  2KB  |  63 lines

  1. /*
  2.  * Copyright (c) 1983 Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms are permitted
  6.  * provided that: (1) source distributions retain this entire copyright
  7.  * notice and comment, and (2) distributions including binaries display
  8.  * the following acknowledgement:  ``This product includes software
  9.  * developed by the University of California, Berkeley and its contributors''
  10.  * in the documentation or other materials provided with the distribution
  11.  * and in all advertising materials mentioning features or use of this
  12.  * software. Neither the name of the University nor the names of its
  13.  * contributors may be used to endorse or promote products derived
  14.  * from this software without specific prior written permission.
  15.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  16.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  17.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  18.  */
  19.  
  20. #if defined(LIBC_SCCS) && !defined(lint)
  21. static char sccsid[] = "@(#)siglist.c    5.5 (Berkeley) 6/1/90";
  22. #endif /* LIBC_SCCS and not lint */
  23.  
  24. #define _KERNEL
  25. #include <sys/types.h>
  26. #include <signal.h>
  27.  
  28. char *sys_siglist[NSIG] = {
  29.     "Signal 0",
  30.     "Hangup",            /* SIGHUP */
  31.     "Interrupt",            /* SIGINT */
  32.     "Quit",                /* SIGQUIT */
  33.     "Illegal instruction",        /* SIGILL */
  34.     "Trace/BPT trap",        /* SIGTRAP */
  35.     "Abort trap",            /* SIGABRT */
  36.     "EMT trap",            /* SIGEMT */
  37.     "Floating point exception",    /* SIGFPE */
  38.     "Killed",            /* SIGKILL */
  39.     "Bus error",            /* SIGBUS */
  40.     "Segmentation fault",        /* SIGSEGV */
  41.     "Bad system call",        /* SIGSYS */
  42.     "Broken pipe",            /* SIGPIPE */
  43.     "Alarm clock",            /* SIGALRM */
  44.     "Terminated",            /* SIGTERM */
  45.     "Urgent I/O condition",        /* SIGURG */
  46.     "Stopped (signal)",        /* SIGSTOP */
  47.     "Stopped",            /* SIGTSTP */
  48.     "Continued",            /* SIGCONT */
  49.     "Child exited",            /* SIGCHLD */
  50.     "Stopped (tty input)",        /* SIGTTIN */
  51.     "Stopped (tty output)",        /* SIGTTOU */
  52.     "I/O possible",            /* SIGIO */
  53.     "Cputime limit exceeded",    /* SIGXCPU */
  54.     "Filesize limit exceeded",    /* SIGXFSZ */
  55.     "Virtual timer expired",    /* SIGVTALRM */
  56.     "Profiling timer expired",    /* SIGPROF */
  57.     "Window size changes",        /* SIGWINCH */
  58.     "Information request",        /* SIGINFO */
  59.     "User defined signal 1",    /* SIGUSR1 */
  60.     "User defined signal 2",    /* SIGUSR2 */
  61.     "Amiga signal"            /* SIGMSG  */
  62. };
  63.