xref: /original-bsd/lib/libc/gen/siglist.c (revision d272e02a)
1 /*
2  * Copyright (c) 1983 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #if defined(LIBC_SCCS) && !defined(lint)
9 static char sccsid[] = "@(#)siglist.c	5.6 (Berkeley) 02/23/91";
10 #endif /* LIBC_SCCS and not lint */
11 
12 #include <signal.h>
13 #include <unistd.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 trap",			/* SIGABRT */
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 */
44 	"Window size changes",		/* SIGWINCH */
45 	"Information request",		/* SIGINFO */
46 	"User defined signal 1",	/* SIGUSR1 */
47 	"User defined signal 2"		/* SIGUSR2 */
48 };
49