|
Packit Service |
82fcde |
/* Canonical list of all signal names.
|
|
Packit Service |
82fcde |
Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License as published by the Free Software Foundation; either
|
|
Packit Service |
82fcde |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library; if not, see
|
|
Packit Service |
82fcde |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* This file should be usable for any platform, since it just associates
|
|
Packit Service |
82fcde |
the SIG* macros with text names and descriptions. The actual values
|
|
Packit Service |
82fcde |
come from <bits/signum.h> (via <signal.h>). For any signal macros do not
|
|
Packit Service |
82fcde |
exist on every platform, we can use #ifdef tests here and still use
|
|
Packit Service |
82fcde |
this single common file for all platforms. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* This file is included multiple times. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* Standard signals, in the numerical order defined in
|
|
Packit Service |
82fcde |
bits/signum-generic.h. */
|
|
Packit Service |
82fcde |
init_sig (SIGHUP, "HUP", N_("Hangup"))
|
|
Packit Service |
82fcde |
init_sig (SIGINT, "INT", N_("Interrupt"))
|
|
Packit Service |
82fcde |
init_sig (SIGQUIT, "QUIT", N_("Quit"))
|
|
Packit Service |
82fcde |
init_sig (SIGILL, "ILL", N_("Illegal instruction"))
|
|
Packit Service |
82fcde |
init_sig (SIGTRAP, "TRAP", N_("Trace/breakpoint trap"))
|
|
Packit Service |
82fcde |
init_sig (SIGABRT, "ABRT", N_("Aborted"))
|
|
Packit Service |
82fcde |
init_sig (SIGFPE, "FPE", N_("Floating point exception"))
|
|
Packit Service |
82fcde |
init_sig (SIGKILL, "KILL", N_("Killed"))
|
|
Packit Service |
82fcde |
init_sig (SIGBUS, "BUS", N_("Bus error"))
|
|
Packit Service |
82fcde |
init_sig (SIGSYS, "SYS", N_("Bad system call"))
|
|
Packit Service |
82fcde |
init_sig (SIGSEGV, "SEGV", N_("Segmentation fault"))
|
|
Packit Service |
82fcde |
init_sig (SIGPIPE, "PIPE", N_("Broken pipe"))
|
|
Packit Service |
82fcde |
init_sig (SIGALRM, "ALRM", N_("Alarm clock"))
|
|
Packit Service |
82fcde |
init_sig (SIGTERM, "TERM", N_("Terminated"))
|
|
Packit Service |
82fcde |
init_sig (SIGURG, "URG", N_("Urgent I/O condition"))
|
|
Packit Service |
82fcde |
init_sig (SIGSTOP, "STOP", N_("Stopped (signal)"))
|
|
Packit Service |
82fcde |
init_sig (SIGTSTP, "TSTP", N_("Stopped"))
|
|
Packit Service |
82fcde |
init_sig (SIGCONT, "CONT", N_("Continued"))
|
|
Packit Service |
82fcde |
init_sig (SIGCHLD, "CHLD", N_("Child exited"))
|
|
Packit Service |
82fcde |
init_sig (SIGTTIN, "TTIN", N_("Stopped (tty input)"))
|
|
Packit Service |
82fcde |
init_sig (SIGTTOU, "TTOU", N_("Stopped (tty output)"))
|
|
Packit Service |
82fcde |
init_sig (SIGPOLL, "POLL", N_("I/O possible"))
|
|
Packit Service |
82fcde |
init_sig (SIGXCPU, "XCPU", N_("CPU time limit exceeded"))
|
|
Packit Service |
82fcde |
init_sig (SIGXFSZ, "XFSZ", N_("File size limit exceeded"))
|
|
Packit Service |
82fcde |
init_sig (SIGVTALRM, "VTALRM", N_("Virtual timer expired"))
|
|
Packit Service |
82fcde |
init_sig (SIGPROF, "PROF", N_("Profiling timer expired"))
|
|
Packit Service |
82fcde |
init_sig (SIGUSR1, "USR1", N_("User defined signal 1"))
|
|
Packit Service |
82fcde |
init_sig (SIGUSR2, "USR2", N_("User defined signal 2"))
|
|
Packit Service |
82fcde |
init_sig (SIGWINCH, "WINCH", N_("Window changed"))
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* Signals that are not present on all supported platforms. */
|
|
Packit Service |
82fcde |
#ifdef SIGEMT
|
|
Packit Service |
82fcde |
init_sig (SIGEMT, "EMT", N_("EMT trap"))
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#ifdef SIGSTKFLT
|
|
Packit Service |
82fcde |
init_sig (SIGSTKFLT, "STKFLT", N_("Stack fault"))
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#ifdef SIGPWR
|
|
Packit Service |
82fcde |
init_sig (SIGPWR, "PWR", N_("Power failure"))
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#if defined SIGINFO && (!defined SIGPWR || SIGPWR != SIGINFO)
|
|
Packit Service |
82fcde |
init_sig (SIGINFO, "INFO", N_("Information request"))
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#if defined SIGLOST && (!defined SIGPWR || SIGPWR != SIGLOST)
|
|
Packit Service |
82fcde |
init_sig (SIGLOST, "LOST", N_("Resource lost"))
|
|
Packit Service |
82fcde |
#endif
|