]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/hppa/bits/signum.h
f1628fdaeef9a619d13ed40ed8353dc1f391faf4
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / hppa / bits / signum.h
1 /* Signal number definitions. Linux/HPPA version.
2 Copyright (C) 1995-2018 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 Linux/HPPA. These values were originally chosen for HP/UX
30 compatibility, but were renumbered as of kernel 3.17 and glibc 2.21
31 to accommodate software (notably systemd) that assumed at least 29
32 real-time signal numbers would be available. SIGEMT and SIGLOST
33 were removed, and the values of SIGSTKFLT, SIGXCPU, XIGXFSZ, and
34 SIGSYS were changed, enabling __SIGRTMIN to be 32. */
35
36 #define SIGSTKFLT 7 /* Stack fault (obsolete). */
37 #define SIGPWR 19 /* Power failure imminent. */
38
39 #undef SIGXCPU
40 #define SIGXCPU 12
41 #undef SIGUSR1
42 #define SIGUSR1 16
43 #undef SIGUSR2
44 #define SIGUSR2 17
45 #undef SIGCHLD
46 #define SIGCHLD 18
47 #undef SIGVTALRM
48 #define SIGVTALRM 20
49 #undef SIGPROF
50 #define SIGPROF 21
51 #undef SIGPOLL
52 #define SIGPOLL 22
53 #undef SIGWINCH
54 #define SIGWINCH 23
55 #undef SIGSTOP
56 #define SIGSTOP 24
57 #undef SIGTSTP
58 #define SIGTSTP 25
59 #undef SIGCONT
60 #define SIGCONT 26
61 #undef SIGTTIN
62 #define SIGTTIN 27
63 #undef SIGTTOU
64 #define SIGTTOU 28
65 #undef SIGURG
66 #define SIGURG 29
67 #undef SIGXFSZ
68 #define SIGXFSZ 30
69 #undef SIGSYS
70 #define SIGSYS 31
71
72 #undef __SIGRTMAX
73 #define __SIGRTMAX 64
74
75 #endif /* <signal.h> included. */