xref: /original-bsd/lib/libc/gen/siglist.c (revision a9c19d04)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #if defined(LIBC_SCCS) && !defined(lint)
8 static char sccsid[] = "@(#)siglist.c	5.2 (Berkeley) 03/09/86";
9 #endif LIBC_SCCS and not lint
10 
11 #include <signal.h>
12 
13 char	*sys_siglist[NSIG] = {
14 	"Signal 0",
15 	"Hangup",			/* SIGHUP */
16 	"Interrupt",			/* SIGINT */
17 	"Quit",				/* SIGQUIT */
18 	"Illegal instruction",		/* SIGILL */
19 	"Trace/BPT trap",		/* SIGTRAP */
20 	"IOT trap",			/* SIGIOT */
21 	"EMT trap",			/* SIGEMT */
22 	"Floating point exception",	/* SIGFPE */
23 	"Killed",			/* SIGKILL */
24 	"Bus error",			/* SIGBUS */
25 	"Segmentation fault",		/* SIGSEGV */
26 	"Bad system call",		/* SIGSYS */
27 	"Broken pipe",			/* SIGPIPE */
28 	"Alarm clock",			/* SIGALRM */
29 	"Terminated",			/* SIGTERM */
30 	"Urgent I/O condition",		/* SIGURG */
31 	"Stopped (signal)",		/* SIGSTOP */
32 	"Stopped",			/* SIGTSTP */
33 	"Continued",			/* SIGCONT */
34 	"Child exited",			/* SIGCHLD */
35 	"Stopped (tty input)",		/* SIGTTIN */
36 	"Stopped (tty output)",		/* SIGTTOU */
37 	"I/O possible",			/* SIGIO */
38 	"Cputime limit exceeded",	/* SIGXCPU */
39 	"Filesize limit exceeded",	/* SIGXFSZ */
40 	"Virtual timer expired",	/* SIGVTALRM */
41 	"Profiling timer expired",	/* SIGPROF */
42 	"Window size changes",		/* SIGWINCH */
43 	"Signal 29",
44 	"User defined signal 1",	/* SIGUSR1 */
45 	"User defined signal 2"		/* SIGUSR2 */
46 };
47