aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/siglist.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
committerUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
commitdf4ef2ab9c0899b2670067cd97e58f7eb2913e00 (patch)
tree4cb343b5ba9ccdc9c0b96144412567b6a4eda0ee /sysdeps/unix/siglist.c
parent6f9e7002f38ae778b3ff2f586a3e5766382228e9 (diff)
downloadglibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.gz
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.bz2
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.zip
update from main archive 960105cvs/libc-970107cvs/libc-970106
Diffstat (limited to 'sysdeps/unix/siglist.c')
-rw-r--r--sysdeps/unix/siglist.c86
1 files changed, 51 insertions, 35 deletions
diff --git a/sysdeps/unix/siglist.c b/sysdeps/unix/siglist.c
index c904e7f38d..4e69530715 100644
--- a/sysdeps/unix/siglist.c
+++ b/sysdeps/unix/siglist.c
@@ -1,4 +1,21 @@
-#include <ansidecl.h>
+/* 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. */
+
#include <stddef.h>
#ifndef HAVE_GNU_LD
@@ -7,40 +24,39 @@
/* This is a list of all known signal numbers. */
-CONST char *CONST _sys_siglist[] =
+const char *const _sys_siglist[] =
{
- "Signal 0",
- "Hangup",
- "Interrupt",
- "Quit",
- "Illegal instruction",
- "Trace/BPT trap",
- "IOT trap",
- "EMT trap",
- "Floating point exception",
- "Killed",
- "Bus error",
- "Segmentation fault",
- "Bad system call",
- "Broken pipe",
- "Alarm clock",
- "Terminated",
- "Urgent I/O condition",
- "Stopped (signal)",
- "Stopped",
- "Continued",
- "Child exited",
- "Stopped (tty input)",
- "Stopped (tty output)",
- "I/O possible",
- "Cputime limit exceeded",
- "Filesize limit exceeded",
- "Virtual timer expired",
- "Profiling timer expired",
- "Window changed",
- "Resource lost",
- "User defined signal 1",
- "User defined signal 2",
+ 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
};
-