]>
Commit | Line | Data |
---|---|---|
e4e11b1d | 1 | /* Signal number definitions. Linux/HPPA version. |
2b778ceb | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
e4e11b1d AZ |
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 | <https://www.gnu.org/licenses/>. */ | |
18 | ||
19 | #ifndef _BITS_SIGNUM_ARCH_H | |
20 | #define _BITS_SIGNUM_ARCH_H 1 | |
21 | ||
22 | #ifndef _SIGNAL_H | |
23 | #error "Never include <bits/signum-arch.h> directly; use <signal.h> instead." | |
24 | #endif | |
25 | ||
26 | /* Adjustments and additions to the signal number constants for | |
27 | Linux/HPPA. These values were originally chosen for HP/UX | |
28 | compatibility, but were renumbered as of kernel 3.17 and glibc 2.21 | |
29 | to accommodate software (notably systemd) that assumed at least 29 | |
30 | real-time signal numbers would be available. SIGEMT and SIGLOST | |
31 | were removed, and the values of SIGSTKFLT, SIGXCPU, XIGXFSZ, and | |
32 | SIGSYS were changed, enabling __SIGRTMIN to be 32. */ | |
33 | ||
34 | #define SIGSTKFLT 7 /* Stack fault (obsolete). */ | |
35 | #define SIGPWR 19 /* Power failure imminent. */ | |
36 | ||
37 | /* Historical signals specified by POSIX. */ | |
38 | #define SIGBUS 10 /* Bus error. */ | |
39 | #define SIGSYS 31 /* Bad system call. */ | |
40 | ||
41 | /* New(er) POSIX signals (1003.1-2008, 1003.1-2013). */ | |
42 | #define SIGURG 29 /* Urgent data is available at a socket. */ | |
43 | #define SIGSTOP 24 /* Stop, unblockable. */ | |
44 | #define SIGTSTP 25 /* Keyboard stop. */ | |
45 | #define SIGCONT 26 /* Continue. */ | |
46 | #define SIGCHLD 18 /* Child terminated or stopped. */ | |
47 | #define SIGTTIN 27 /* Background read from control terminal. */ | |
48 | #define SIGTTOU 28 /* Background write to control terminal. */ | |
49 | #define SIGPOLL 22 /* Pollable event occurred (System V). */ | |
50 | #define SIGXCPU 12 /* CPU time limit exceeded. */ | |
51 | #define SIGVTALRM 20 /* Virtual timer expired. */ | |
52 | #define SIGPROF 21 /* Profiling timer expired. */ | |
53 | #define SIGXFSZ 30 /* File size limit exceeded. */ | |
54 | #define SIGUSR1 16 /* User-defined signal 1. */ | |
55 | #define SIGUSR2 17 /* User-defined signal 2. */ | |
56 | ||
57 | /* Nonstandard signals found in all modern POSIX systems | |
58 | (including both BSD and Linux). */ | |
59 | #define SIGWINCH 23 /* Window size change (4.3 BSD, Sun). */ | |
60 | ||
61 | /* Archaic names for compatibility. */ | |
62 | #define SIGIO SIGPOLL /* I/O now possible (4.2 BSD). */ | |
63 | #define SIGIOT SIGABRT /* IOT instruction, abort() on a PDP-11. */ | |
64 | #define SIGCLD SIGCHLD /* Old System V name */ | |
65 | ||
66 | #define __SIGRTMIN 32 | |
67 | #define __SIGRTMAX 64 | |
68 | ||
69 | #endif /* <signal.h> included. */ |