]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/bits/signum.h
25b0d2a6cff22c9df0292004a359302d13a3ba31
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / bits / signum.h
1 /* Signal number definitions. Linux version.
2 Copyright (C) 1995-2019 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
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.
9
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
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
18
19 #ifndef _BITS_SIGNUM_H
20 #define _BITS_SIGNUM_H 1
21
22 #ifndef _SIGNAL_H
23 #error "Never include <bits/signum.h> directly; use <signal.h> instead."
24 #endif
25
26 #include <bits/signum-generic.h>
27
28 /* Adjustments and additions to the signal number constants for
29 most Linux systems. */
30
31 #define SIGSTKFLT 16 /* Stack fault (obsolete). */
32 #define SIGPWR 30 /* Power failure imminent. */
33
34 #undef SIGBUS
35 #define SIGBUS 7
36 #undef SIGUSR1
37 #define SIGUSR1 10
38 #undef SIGUSR2
39 #define SIGUSR2 12
40 #undef SIGCHLD
41 #define SIGCHLD 17
42 #undef SIGCONT
43 #define SIGCONT 18
44 #undef SIGSTOP
45 #define SIGSTOP 19
46 #undef SIGTSTP
47 #define SIGTSTP 20
48 #undef SIGURG
49 #define SIGURG 23
50 #undef SIGPOLL
51 #define SIGPOLL 29
52 #undef SIGSYS
53 #define SIGSYS 31
54
55 #undef __SIGRTMAX
56 #define __SIGRTMAX 64
57
58 #endif /* <signal.h> included. */