]> sourceware.org Git - glibc.git/blame - bits/signum.h
Update.
[glibc.git] / bits / signum.h
CommitLineData
54d79e99
UD
1/* Copyright (C) 1991, 1993, 1996 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
28f540f4 3
54d79e99
UD
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.
28f540f4 8
54d79e99
UD
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.
28f540f4 13
54d79e99
UD
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. */
28f540f4
RM
18
19#ifdef _SIGNAL_H
20
21/* Fake signal functions. */
22extern void _sig_ign __P ((int sig));
23extern void _sig_dfl __P ((int sig));
24
54d79e99
UD
25#define SIG_ERR ((__sighandler_t) 0) /* Error return. */
26#define SIG_DFL _sig_dfl /* Default action. */
28f540f4
RM
27#define SIG_IGN _sig_ign /* Ignore signal. */
28
29
30/* ANSI signals. */
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. */
37
38/* POSIX signals. */
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. */
50
51#endif /* <signal.h> included. */
52
53#define _NSIG 17
This page took 0.081849 seconds and 5 git commands to generate.