]> git.ipfire.org Git - thirdparty/glibc.git/blame - stdio-common/siglist.c
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / stdio-common / siglist.c
CommitLineData
a901ffa2 1/* Define list of all signal numbers and their names.
04277e02 2 Copyright (C) 1997-2019 Free Software Foundation, Inc.
ebbad4cc 3 This file is part of the GNU C Library.
28f540f4 4
ebbad4cc 5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
28f540f4 9
ebbad4cc
UD
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 13 Lesser General Public License for more details.
28f540f4 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6 16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
28f540f4 18
28f540f4 19#include <stddef.h>
a901ffa2
RM
20#include <signal.h>
21#include <libintl.h>
28f540f4 22
a901ffa2
RM
23const char *const _sys_siglist[NSIG] =
24{
0274d73c 25#define init_sig(sig, abbrev, desc) [sig] = desc,
a901ffa2
RM
26#include <siglist.h>
27#undef init_sig
28};
29
30
31const char *const _sys_sigabbrev[NSIG] =
32{
0274d73c 33#define init_sig(sig, abbrev, desc) [sig] = abbrev,
a901ffa2
RM
34#include <siglist.h>
35#undef init_sig
36};