]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/alpha/bits/signum-arch.h
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / alpha / bits / signum-arch.h
1 /* Signal number definitions. Linux/Alpha version.
2 Copyright (C) 1996-2021 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 <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/Alpha. Signal values on this platform were chosen for OSF/1
28 binary compatibility, and are therefore almost identical to the
29 BSD-derived defaults. */
30
31 #define SIGEMT 7 /* Emulator trap (4.2 BSD). */
32 #define SIGINFO 29 /* Information request (BSD). */
33 #define SIGPWR SIGINFO /* Power failure imminent (System V). */
34
35 /* Historical signals specified by POSIX. */
36 #define SIGBUS 10 /* Bus error. */
37 #define SIGSYS 12 /* Bad system call. */
38
39 /* New(er) POSIX signals (1003.1-2008, 1003.1-2013). */
40 #define SIGURG 16 /* Urgent data is available at a socket. */
41 #define SIGSTOP 17 /* Stop, unblockable. */
42 #define SIGTSTP 18 /* Keyboard stop. */
43 #define SIGCONT 19 /* Continue. */
44 #define SIGCHLD 20 /* Child terminated or stopped. */
45 #define SIGTTIN 21 /* Background read from control terminal. */
46 #define SIGTTOU 22 /* Background write to control terminal. */
47 #define SIGPOLL 23 /* Pollable event occurred (System V). */
48 #define SIGXCPU 24 /* CPU time limit exceeded. */
49 #define SIGVTALRM 26 /* Virtual timer expired. */
50 #define SIGPROF 27 /* Profiling timer expired. */
51 #define SIGXFSZ 25 /* File size limit exceeded. */
52 #define SIGUSR1 30 /* User-defined signal 1. */
53 #define SIGUSR2 31 /* User-defined signal 2. */
54
55 /* Nonstandard signals found in all modern POSIX systems
56 (including both BSD and Linux). */
57 #define SIGWINCH 28
58
59 /* Archaic names for compatibility. */
60 #define SIGIO SIGPOLL /* I/O now possible (4.2 BSD). */
61 #define SIGIOT SIGABRT /* IOT instruction, abort() on a PDP-11. */
62 #define SIGCLD SIGCHLD /* Old System V name */
63
64 #define __SIGRTMIN 32
65 #define __SIGRTMAX 64
66
67 #endif /* <signal.h> included. */