Blame sysdeps/generic/siglist.h

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