121359Sdist /* 235286Sbostic * Copyright (c) 1983 Regents of the University of California. 335286Sbostic * All rights reserved. 435286Sbostic * 542626Sbostic * %sccs.include.redist.c% 621359Sdist */ 710902Ssam 826591Sdonn #if defined(LIBC_SCCS) && !defined(lint) 9*50946Sbostic static char sccsid[] = "@(#)siglist.c 5.7 (Berkeley) 09/01/91"; 1035286Sbostic #endif /* LIBC_SCCS and not lint */ 1121359Sdist 1210903Ssam #include <signal.h> 1310903Ssam 14*50946Sbostic char *sys_signame[NSIG] = { 1510902Ssam "Signal 0", 16*50946Sbostic "hup", /* SIGHUP */ 17*50946Sbostic "int", /* SIGINT */ 18*50946Sbostic "quit", /* SIGQUIT */ 19*50946Sbostic "ill", /* SIGILL */ 20*50946Sbostic "trap", /* SIGTRAP */ 21*50946Sbostic "abrt", /* SIGABRT */ 22*50946Sbostic "emt", /* SIGEMT */ 23*50946Sbostic "fpe", /* SIGFPE */ 24*50946Sbostic "kill", /* SIGKILL */ 25*50946Sbostic "bus", /* SIGBUS */ 26*50946Sbostic "segv", /* SIGSEGV */ 27*50946Sbostic "sys", /* SIGSYS */ 28*50946Sbostic "pipe", /* SIGPIPE */ 29*50946Sbostic "alrm", /* SIGALRM */ 30*50946Sbostic "term", /* SIGTERM */ 31*50946Sbostic "urg", /* SIGURG */ 32*50946Sbostic "stop", /* SIGSTOP */ 33*50946Sbostic "tstp", /* SIGTSTP */ 34*50946Sbostic "cont", /* SIGCONT */ 35*50946Sbostic "chld", /* SIGCHLD */ 36*50946Sbostic "ttin", /* SIGTTIN */ 37*50946Sbostic "ttou", /* SIGTTOU */ 38*50946Sbostic "io", /* SIGIO */ 39*50946Sbostic "xcpu", /* SIGXCPU */ 40*50946Sbostic "xfsz", /* SIGXFSZ */ 41*50946Sbostic "vtalrm", /* SIGVTALRM */ 42*50946Sbostic "prof", /* SIGPROF */ 43*50946Sbostic "winch", /* SIGWINCH */ 44*50946Sbostic "info", /* SIGINFO */ 45*50946Sbostic "usr1", /* SIGUSR1 */ 46*50946Sbostic "usr2", /* SIGUSR2 */ 47*50946Sbostic }; 48*50946Sbostic 49*50946Sbostic char *sys_siglist[NSIG] = { 50*50946Sbostic "Signal 0", 5110902Ssam "Hangup", /* SIGHUP */ 5210902Ssam "Interrupt", /* SIGINT */ 5310902Ssam "Quit", /* SIGQUIT */ 5410902Ssam "Illegal instruction", /* SIGILL */ 5510902Ssam "Trace/BPT trap", /* SIGTRAP */ 5638788Skarels "Abort trap", /* SIGABRT */ 5710902Ssam "EMT trap", /* SIGEMT */ 5810902Ssam "Floating point exception", /* SIGFPE */ 5910902Ssam "Killed", /* SIGKILL */ 6010902Ssam "Bus error", /* SIGBUS */ 6110902Ssam "Segmentation fault", /* SIGSEGV */ 6210902Ssam "Bad system call", /* SIGSYS */ 6310902Ssam "Broken pipe", /* SIGPIPE */ 6410902Ssam "Alarm clock", /* SIGALRM */ 6510902Ssam "Terminated", /* SIGTERM */ 6610902Ssam "Urgent I/O condition", /* SIGURG */ 67*50946Sbostic "Suspended (signal)", /* SIGSTOP */ 68*50946Sbostic "Suspended", /* SIGTSTP */ 6910902Ssam "Continued", /* SIGCONT */ 7010902Ssam "Child exited", /* SIGCHLD */ 7110902Ssam "Stopped (tty input)", /* SIGTTIN */ 7210902Ssam "Stopped (tty output)", /* SIGTTOU */ 7310902Ssam "I/O possible", /* SIGIO */ 7410902Ssam "Cputime limit exceeded", /* SIGXCPU */ 7510902Ssam "Filesize limit exceeded", /* SIGXFSZ */ 7610902Ssam "Virtual timer expired", /* SIGVTALRM */ 7710902Ssam "Profiling timer expired", /* SIGPROF */ 7821006Smckusick "Window size changes", /* SIGWINCH */ 7938788Skarels "Information request", /* SIGINFO */ 8021006Smckusick "User defined signal 1", /* SIGUSR1 */ 8121006Smckusick "User defined signal 2" /* SIGUSR2 */ 8210902Ssam }; 83