version 1.1.1.1, 1993/03/21 09:45:37 |
version 1.1.1.2, 1995/02/25 09:12:35 |
|
|
/* |
/* |
* Copyright (c) 1983 Regents of the University of California. |
* Copyright (c) 1983, 1993 |
* All rights reserved. |
* The Regents of the University of California. All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* modification, are permitted provided that the following conditions |
|
|
*/ |
*/ |
|
|
#if defined(LIBC_SCCS) && !defined(lint) |
#if defined(LIBC_SCCS) && !defined(lint) |
static char sccsid[] = "@(#)siglist.c 5.6 (Berkeley) 2/23/91"; |
static char sccsid[] = "@(#)siglist.c 8.1 (Berkeley) 6/4/93"; |
#endif /* LIBC_SCCS and not lint */ |
#endif /* LIBC_SCCS and not lint */ |
|
|
|
#include <sys/cdefs.h> |
#include <signal.h> |
#include <signal.h> |
#include <unistd.h> |
|
|
|
char *sys_siglist[NSIG] = { |
const char *const sys_signame[NSIG] = { |
|
"Signal 0", |
|
"hup", /* SIGHUP */ |
|
"int", /* SIGINT */ |
|
"quit", /* SIGQUIT */ |
|
"ill", /* SIGILL */ |
|
"trap", /* SIGTRAP */ |
|
"abrt", /* SIGABRT */ |
|
"emt", /* SIGEMT */ |
|
"fpe", /* SIGFPE */ |
|
"kill", /* SIGKILL */ |
|
"bus", /* SIGBUS */ |
|
"segv", /* SIGSEGV */ |
|
"sys", /* SIGSYS */ |
|
"pipe", /* SIGPIPE */ |
|
"alrm", /* SIGALRM */ |
|
"term", /* SIGTERM */ |
|
"urg", /* SIGURG */ |
|
"stop", /* SIGSTOP */ |
|
"tstp", /* SIGTSTP */ |
|
"cont", /* SIGCONT */ |
|
"chld", /* SIGCHLD */ |
|
"ttin", /* SIGTTIN */ |
|
"ttou", /* SIGTTOU */ |
|
"io", /* SIGIO */ |
|
"xcpu", /* SIGXCPU */ |
|
"xfsz", /* SIGXFSZ */ |
|
"vtalrm", /* SIGVTALRM */ |
|
"prof", /* SIGPROF */ |
|
"winch", /* SIGWINCH */ |
|
"info", /* SIGINFO */ |
|
"usr1", /* SIGUSR1 */ |
|
"usr2", /* SIGUSR2 */ |
|
}; |
|
|
|
const char *const sys_siglist[NSIG] = { |
"Signal 0", |
"Signal 0", |
"Hangup", /* SIGHUP */ |
"Hangup", /* SIGHUP */ |
"Interrupt", /* SIGINT */ |
"Interrupt", /* SIGINT */ |
Line 56 char *sys_siglist[NSIG] = { |
|
Line 91 char *sys_siglist[NSIG] = { |
|
"Alarm clock", /* SIGALRM */ |
"Alarm clock", /* SIGALRM */ |
"Terminated", /* SIGTERM */ |
"Terminated", /* SIGTERM */ |
"Urgent I/O condition", /* SIGURG */ |
"Urgent I/O condition", /* SIGURG */ |
"Stopped (signal)", /* SIGSTOP */ |
"Suspended (signal)", /* SIGSTOP */ |
"Stopped", /* SIGTSTP */ |
"Suspended", /* SIGTSTP */ |
"Continued", /* SIGCONT */ |
"Continued", /* SIGCONT */ |
"Child exited", /* SIGCHLD */ |
"Child exited", /* SIGCHLD */ |
"Stopped (tty input)", /* SIGTTIN */ |
"Stopped (tty input)", /* SIGTTIN */ |