glibc/sysdeps/unix/siglist.c
Ulrich Drepper 7a3bfc4ef4 Update.
1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
	_sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
	sys_siglist.  This is handled correctly by the weak_alias macro.
1998-09-24 13:51:51 +00:00

61 lines
1.9 KiB
C

/* Copyright (C) 1996, 1997, 1998 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. */
#include <stddef.h>
/* This is a list of all known signal numbers. */
const char *const _sys_siglist[] =
{
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"),
NULL
};
weak_alias (_sys_siglist, sys_siglist)