|
|
1.1 root 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: #include <signal.h>
25:
26: char *sys_siglist[NSIG] = {
27: "Signal 0",
28: "Hangup", /* SIGHUP */
29: "Interrupt", /* SIGINT */
30: "Quit", /* SIGQUIT */
31: "Illegal instruction", /* SIGILL */
32: "Trace/BPT trap", /* SIGTRAP */
33: "Abort trap", /* SIGABRT */
34: "EMT trap", /* SIGEMT */
35: "Floating point exception", /* SIGFPE */
36: "Killed", /* SIGKILL */
37: "Bus error", /* SIGBUS */
38: "Segmentation fault", /* SIGSEGV */
39: "Bad system call", /* SIGSYS */
40: "Broken pipe", /* SIGPIPE */
41: "Alarm clock", /* SIGALRM */
42: "Terminated", /* SIGTERM */
43: "Urgent I/O condition", /* SIGURG */
44: "Stopped (signal)", /* SIGSTOP */
45: "Stopped", /* SIGTSTP */
46: "Continued", /* SIGCONT */
47: "Child exited", /* SIGCHLD */
48: "Stopped (tty input)", /* SIGTTIN */
49: "Stopped (tty output)", /* SIGTTOU */
50: "I/O possible", /* SIGIO */
51: "Cputime limit exceeded", /* SIGXCPU */
52: "Filesize limit exceeded", /* SIGXFSZ */
53: "Virtual timer expired", /* SIGVTALRM */
54: "Profiling timer expired", /* SIGPROF */
55: "Window size changes", /* SIGWINCH */
56: "Information request", /* SIGINFO */
57: "User defined signal 1", /* SIGUSR1 */
58: "User defined signal 2" /* SIGUSR2 */
59: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.