initial import
[glibc.git] / sysdeps / unix / sysv / irix4 / signum.h
blob5d30ebb87523b9c3531a42449d65fc0c3a34be19
1 /* Copyright (C) 1994 Free Software Foundation, Inc.
3 The GNU C Library is free software; you can redistribute it and/or
4 modify it under the terms of the GNU Library General Public License as
5 published by the Free Software Foundation; either version 2 of the
6 License, or (at your option) any later version.
8 The GNU C Library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public
14 License along with the GNU C Library; see the file COPYING.LIB. If
15 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
16 Cambridge, MA 02139, USA. */
18 #ifdef _SIGNAL_H
20 /* This file defines the fake signal functions and signal
21 number constants for SGI Irix 4. */
23 /* Fake signal functions. */
24 #define SIG_ERR ((__sighandler_t) -1)
25 #define SIG_DFL ((__sighandler_t) 0)
26 #define SIG_IGN ((__sighandler_t) 1)
29 /* Signals. */
30 #define SIGHUP 1 /* Hangup (POSIX). */
31 #define SIGINT 2 /* Interrupt (ANSI). */
32 #define SIGQUIT 3 /* Quit (POSIX). */
33 #define SIGILL 4 /* Illegal instruction (ANSI). */
34 #define SIGABRT SIGIOT /* Abort (ANSI). */
35 #define SIGTRAP 5 /* Trace trap (POSIX). */
36 #define SIGIOT 6 /* IOT trap. */
37 #define SIGEMT 7 /* EMT trap. */
38 #define SIGFPE 8 /* Floating-point exception (ANSI). */
39 #define SIGKILL 9 /* Kill, unblockable (POSIX). */
40 #define SIGBUS 10 /* Bus error. */
41 #define SIGSEGV 11 /* Segmentation violation (ANSI). */
42 #define SIGSYS 12 /* Bad argument to system call*/
43 #define SIGPIPE 13 /* Broken pipe (POSIX). */
44 #define SIGALRM 14 /* Alarm clock (POSIX). */
45 #define SIGTERM 15 /* Termination (ANSI). */
46 #define SIGUSR1 16 /* User-defined signal 1 (POSIX). */
47 #define SIGUSR2 17 /* User-defined signal 2 (POSIX). */
48 #define SIGCHLD 18 /* Child status has changed (POSIX). */
49 #define SIGCLD SIGCHLD /* Same as SIGCHLD (System V). */
50 #define SIGPWR 19 /* Power going down. */
51 #define SIGSTOP 20 /* Stop, unblockable (POSIX). */
52 #define SIGTSTP 21 /* Keyboard stop (POSIX). */
53 #define SIGPOLL 22 /* Same as SIGIO? (SVID). */
54 #define SIGIO 23 /* I/O now possible. */
55 #define SIGURG 24 /* Urgent condition on socket.*/
56 #define SIGWINCH 25 /* Window size change. */
57 #define SIGVTALRM 26 /* Virtual alarm clock. */
58 #define SIGPROF 27 /* Profiling alarm clock. */
59 #define SIGCONT 28 /* Continue (POSIX). */
60 #define SIGTTIN 29 /* Background read from tty (POSIX). */
61 #define SIGTTOU 30 /* Background write to tty (POSIX). */
62 #define SIGXCPU 31 /* CPU limit exceeded. */
63 #define SIGXFSZ 32 /* File size limit exceeded. */
65 #endif /* <signal.h> included. */
67 #define _NSIG 33 /* Biggest signal number + 1. */