xref: /csrg-svn/lib/libc/gen/siglist.c (revision 21359)
1*21359Sdist /*
2*21359Sdist  * Copyright (c) 1980 Regents of the University of California.
3*21359Sdist  * All rights reserved.  The Berkeley software License Agreement
4*21359Sdist  * specifies the terms and conditions for redistribution.
5*21359Sdist  */
610902Ssam 
7*21359Sdist #ifndef lint
8*21359Sdist static char sccsid[] = "@(#)siglist.c	5.1 (Berkeley) 05/30/85";
9*21359Sdist #endif not lint
10*21359Sdist 
1110903Ssam #include <signal.h>
1210903Ssam 
1310902Ssam char	*sys_siglist[NSIG] = {
1410902Ssam 	"Signal 0",
1510902Ssam 	"Hangup",			/* SIGHUP */
1610902Ssam 	"Interrupt",			/* SIGINT */
1710902Ssam 	"Quit",				/* SIGQUIT */
1810902Ssam 	"Illegal instruction",		/* SIGILL */
1910902Ssam 	"Trace/BPT trap",		/* SIGTRAP */
2010902Ssam 	"IOT trap",			/* SIGIOT */
2110902Ssam 	"EMT trap",			/* SIGEMT */
2210902Ssam 	"Floating point exception",	/* SIGFPE */
2310902Ssam 	"Killed",			/* SIGKILL */
2410902Ssam 	"Bus error",			/* SIGBUS */
2510902Ssam 	"Segmentation fault",		/* SIGSEGV */
2610902Ssam 	"Bad system call",		/* SIGSYS */
2710902Ssam 	"Broken pipe",			/* SIGPIPE */
2810902Ssam 	"Alarm clock",			/* SIGALRM */
2910902Ssam 	"Terminated",			/* SIGTERM */
3010902Ssam 	"Urgent I/O condition",		/* SIGURG */
3110902Ssam 	"Stopped (signal)",		/* SIGSTOP */
3210902Ssam 	"Stopped",			/* SIGTSTP */
3310902Ssam 	"Continued",			/* SIGCONT */
3410902Ssam 	"Child exited",			/* SIGCHLD */
3510902Ssam 	"Stopped (tty input)",		/* SIGTTIN */
3610902Ssam 	"Stopped (tty output)",		/* SIGTTOU */
3710902Ssam 	"I/O possible",			/* SIGIO */
3810902Ssam 	"Cputime limit exceeded",	/* SIGXCPU */
3910902Ssam 	"Filesize limit exceeded",	/* SIGXFSZ */
4010902Ssam 	"Virtual timer expired",	/* SIGVTALRM */
4110902Ssam 	"Profiling timer expired",	/* SIGPROF */
4221006Smckusick 	"Window size changes",		/* SIGWINCH */
4310902Ssam 	"Signal 29",
4421006Smckusick 	"User defined signal 1",	/* SIGUSR1 */
4521006Smckusick 	"User defined signal 2"		/* SIGUSR2 */
4610902Ssam };
47