1 /* 2 * Copyright 1987 Sun Microsystems, Inc. All rights reserved. 3 * Use is subject to license terms. 4 */ 5 #pragma ident "%Z%%M% %I% %E% SMI" 6 /* from UCB 5.1 85/30/05 */ 7 8 /* 9 * Copyright (c) 1980 Regents of the University of California. 10 * All rights reserved. The Berkeley software License Agreement 11 * specifies the terms and conditions for redistribution. 12 */ 13 #include <signal.h> 14 15 char *sys_siglist[NSIG] = { 16 "Signal 0", 17 "Hangup", /* SIGHUP */ 18 "Interrupt", /* SIGINT */ 19 "Quit", /* SIGQUIT */ 20 "Illegal instruction", /* SIGILL */ 21 "Trace/BPT trap", /* SIGTRAP */ 22 "Abort", /* SIGABRT */ 23 "Emulator trap", /* SIGEMT */ 24 "Arithmetic exception", /* SIGFPE */ 25 "Killed", /* SIGKILL */ 26 "Bus error", /* SIGBUS */ 27 "Segmentation fault", /* SIGSEGV */ 28 "Bad system call", /* SIGSYS */ 29 "Broken pipe", /* SIGPIPE */ 30 "Alarm clock", /* SIGALRM */ 31 "Terminated", /* SIGTERM */ 32 "Urgent I/O condition", /* SIGURG */ 33 "Stopped (signal)", /* SIGSTOP */ 34 "Stopped", /* SIGTSTP */ 35 "Continued", /* SIGCONT */ 36 "Child exited", /* SIGCHLD */ 37 "Stopped (tty input)", /* SIGTTIN */ 38 "Stopped (tty output)", /* SIGTTOU */ 39 "I/O possible", /* SIGIO */ 40 "Cputime limit exceeded", /* SIGXCPU */ 41 "Filesize limit exceeded", /* SIGXFSZ */ 42 "Virtual timer expired", /* SIGVTALRM */ 43 "Profiling timer expired", /* SIGPROF */ 44 "Window changed", /* SIGWINCH */ 45 "Resource lost", /* SIGLOST */ 46 "User defined signal 1", /* SIGUSR1 */ 47 "User defined signal 2" /* SIGUSR2 */ 48 }; 49