xref: /csrg-svn/lib/libc/gen/siglist.c (revision 42626)
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.5 (Berkeley) 06/01/90";
10 #endif /* LIBC_SCCS and not lint */
11 
12 #include <signal.h>
13 
14 char	*sys_siglist[NSIG] = {
15 	"Signal 0",
16 	"Hangup",			/* SIGHUP */
17 	"Interrupt",			/* SIGINT */
18 	"Quit",				/* SIGQUIT */
19 	"Illegal instruction",		/* SIGILL */
20 	"Trace/BPT trap",		/* SIGTRAP */
21 	"Abort trap",			/* SIGABRT */
22 	"EMT trap",			/* SIGEMT */
23 	"Floating point exception",	/* SIGFPE */
24 	"Killed",			/* SIGKILL */
25 	"Bus error",			/* SIGBUS */
26 	"Segmentation fault",		/* SIGSEGV */
27 	"Bad system call",		/* SIGSYS */
28 	"Broken pipe",			/* SIGPIPE */
29 	"Alarm clock",			/* SIGALRM */
30 	"Terminated",			/* SIGTERM */
31 	"Urgent I/O condition",		/* SIGURG */
32 	"Stopped (signal)",		/* SIGSTOP */
33 	"Stopped",			/* SIGTSTP */
34 	"Continued",			/* SIGCONT */
35 	"Child exited",			/* SIGCHLD */
36 	"Stopped (tty input)",		/* SIGTTIN */
37 	"Stopped (tty output)",		/* SIGTTOU */
38 	"I/O possible",			/* SIGIO */
39 	"Cputime limit exceeded",	/* SIGXCPU */
40 	"Filesize limit exceeded",	/* SIGXFSZ */
41 	"Virtual timer expired",	/* SIGVTALRM */
42 	"Profiling timer expired",	/* SIGPROF */
43 	"Window size changes",		/* SIGWINCH */
44 	"Information request",		/* SIGINFO */
45 	"User defined signal 1",	/* SIGUSR1 */
46 	"User defined signal 2"		/* SIGUSR2 */
47 };
48