Commit | Line | Data |
---|---|---|
bb0cfa24 | 1 | /* |
3cee8e9d KB |
2 | * Copyright (c) 1983 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
269a7923 | 5 | * %sccs.include.redist.c% |
bb0cfa24 DF |
6 | */ |
7 | ||
2ce81398 | 8 | #if defined(LIBC_SCCS) && !defined(lint) |
c5980113 | 9 | static char sccsid[] = "@(#)siglist.c 5.6 (Berkeley) %G%"; |
3cee8e9d | 10 | #endif /* LIBC_SCCS and not lint */ |
5c9e5b54 SL |
11 | |
12 | #include <signal.h> | |
c5980113 | 13 | #include <unistd.h> |
21c45276 SL |
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 */ | |
9de85070 | 22 | "Abort trap", /* SIGABRT */ |
21c45276 SL |
23 | "EMT trap", /* SIGEMT */ |
24 | "Floating point 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 */ | |
ed147c30 | 44 | "Window size changes", /* SIGWINCH */ |
9de85070 | 45 | "Information request", /* SIGINFO */ |
ed147c30 KM |
46 | "User defined signal 1", /* SIGUSR1 */ |
47 | "User defined signal 2" /* SIGUSR2 */ | |
21c45276 | 48 | }; |