xref: /csrg-svn/lib/libc/gen/siglist.c (revision 42626)
121359Sdist /*
235286Sbostic  * Copyright (c) 1983 Regents of the University of California.
335286Sbostic  * All rights reserved.
435286Sbostic  *
5*42626Sbostic  * %sccs.include.redist.c%
621359Sdist  */
710902Ssam 
826591Sdonn #if defined(LIBC_SCCS) && !defined(lint)
9*42626Sbostic static char sccsid[] = "@(#)siglist.c	5.5 (Berkeley) 06/01/90";
1035286Sbostic #endif /* LIBC_SCCS and not lint */
1121359Sdist 
1210903Ssam #include <signal.h>
1310903Ssam 
1410902Ssam char	*sys_siglist[NSIG] = {
1510902Ssam 	"Signal 0",
1610902Ssam 	"Hangup",			/* SIGHUP */
1710902Ssam 	"Interrupt",			/* SIGINT */
1810902Ssam 	"Quit",				/* SIGQUIT */
1910902Ssam 	"Illegal instruction",		/* SIGILL */
2010902Ssam 	"Trace/BPT trap",		/* SIGTRAP */
2138788Skarels 	"Abort trap",			/* SIGABRT */
2210902Ssam 	"EMT trap",			/* SIGEMT */
2310902Ssam 	"Floating point exception",	/* SIGFPE */
2410902Ssam 	"Killed",			/* SIGKILL */
2510902Ssam 	"Bus error",			/* SIGBUS */
2610902Ssam 	"Segmentation fault",		/* SIGSEGV */
2710902Ssam 	"Bad system call",		/* SIGSYS */
2810902Ssam 	"Broken pipe",			/* SIGPIPE */
2910902Ssam 	"Alarm clock",			/* SIGALRM */
3010902Ssam 	"Terminated",			/* SIGTERM */
3110902Ssam 	"Urgent I/O condition",		/* SIGURG */
3210902Ssam 	"Stopped (signal)",		/* SIGSTOP */
3310902Ssam 	"Stopped",			/* SIGTSTP */
3410902Ssam 	"Continued",			/* SIGCONT */
3510902Ssam 	"Child exited",			/* SIGCHLD */
3610902Ssam 	"Stopped (tty input)",		/* SIGTTIN */
3710902Ssam 	"Stopped (tty output)",		/* SIGTTOU */
3810902Ssam 	"I/O possible",			/* SIGIO */
3910902Ssam 	"Cputime limit exceeded",	/* SIGXCPU */
4010902Ssam 	"Filesize limit exceeded",	/* SIGXFSZ */
4110902Ssam 	"Virtual timer expired",	/* SIGVTALRM */
4210902Ssam 	"Profiling timer expired",	/* SIGPROF */
4321006Smckusick 	"Window size changes",		/* SIGWINCH */
4438788Skarels 	"Information request",		/* SIGINFO */
4521006Smckusick 	"User defined signal 1",	/* SIGUSR1 */
4621006Smckusick 	"User defined signal 2"		/* SIGUSR2 */
4710902Ssam };
48