glibc/sysdeps/unix/siglist.c

63 lines
1.9 KiB
C
Raw Normal View History

1997-01-07 06:07:28 +08:00
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
1995-02-18 09:27:10 +08:00
#include <stddef.h>
#ifndef HAVE_GNU_LD
#define _sys_siglist sys_siglist
#endif
/* This is a list of all known signal numbers. */
1997-01-07 06:07:28 +08:00
const char *const _sys_siglist[] =
1995-02-18 09:27:10 +08:00
{
1997-01-07 06:07:28 +08:00
N_("Signal 0"),
N_("Hangup"),
N_("Interrupt"),
N_("Quit"),
N_("Illegal instruction"),
N_("Trace/BPT trap"),
N_("IOT trap"),
N_("EMT trap"),
N_("Floating point exception"),
N_("Killed"),
N_("Bus error"),
N_("Segmentation fault"),
N_("Bad system call"),
N_("Broken pipe"),
N_("Alarm clock"),
N_("Terminated"),
N_("Urgent I/O condition"),
N_("Stopped (signal)"),
N_("Stopped"),
N_("Continued"),
N_("Child exited"),
N_("Stopped (tty input)"),
N_("Stopped (tty output)"),
N_("I/O possible"),
N_("Cputime limit exceeded"),
N_("Filesize limit exceeded"),
N_("Virtual timer expired"),
N_("Profiling timer expired"),
N_("Window changed"),
N_("Resource lost"),
N_("User defined signal 1"),
N_("User defined signal 2"),
1995-02-18 09:27:10 +08:00
NULL
};