1 /* Copyright (C) 1991, 1993, 1996 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public
15 License along with the GNU C Library; see the file COPYING.LIB. If not,
16 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
21 /* Fake signal functions. */
22 extern void _sig_ign
__P ((int sig
));
23 extern void _sig_dfl
__P ((int sig
));
25 #define SIG_ERR ((__sighandler_t) 0) /* Error return. */
26 #define SIG_DFL _sig_dfl /* Default action. */
27 #define SIG_IGN _sig_ign /* Ignore signal. */
31 #define SIGABRT 1 /* Abnormal termination. */
32 #define SIGFPE 2 /* Erroneous arithmetic operation. */
33 #define SIGILL 3 /* Illegal instruction. */
34 #define SIGINT 3 /* Interactive attention signal. */
35 #define SIGSEGV 4 /* Invalid access to storage. */
36 #define SIGTERM 5 /* Termination request. */
39 #define SIGHUP 6 /* Hangup. */
40 #define SIGQUIT 7 /* Quit. */
41 #define SIGPIPE 8 /* Broken pipe. */
42 #define SIGKILL 9 /* Kill (cannot be blocked, caught, or ignored). */
43 #define SIGALRM 10 /* Alarm clock. */
44 #define SIGSTOP 11 /* Stop (cannot be blocked, caught, or ignored). */
45 #define SIGTSTP 12 /* Keyboard stop. */
46 #define SIGCONT 13 /* Continue. */
47 #define SIGCHLD 14 /* Child terminated or stopped. */
48 #define SIGTTIN 15 /* Background read from control terminal. */
49 #define SIGTTOU 16 /* Background write to control terminal. */
51 #endif /* <signal.h> included. */