Fixed ZDE build - missing header file
[ZeXOS.git] / libc / include / signal.h
blob80a16900308661c63c66091218c66a58df72e3f3
1 /*
2 * ZeX/OS
3 * Copyright (C) 2007 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program 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
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _SIGNAL_H
21 #define _SIGNAL_H
23 #define SIGHUP 1
24 #define SIGINT 2
25 #define SIGQUIT 3
26 #define SIGILL 4
27 #define SIGTRAP 5
28 #define SIGABRT 6
29 #define SIGIOT 6
30 #define SIGBUS 7
31 #define SIGFPE 8
32 #define SIGKILL 9
33 #define SIGUSR1 10
34 #define SIGSEGV 11
35 #define SIGUSR2 12
36 #define SIGPIPE 13
37 #define SIGALRM 14
38 #define SIGTERM 15
39 #define SIGSTKFLT 16
40 #define SIGCHLD 17
41 #define SIGCONT 18
42 #define SIGSTOP 19
43 #define SIGTSTP 20
44 #define SIGTTIN 21
45 #define SIGTTOU 22
46 #define SIGURG 23
47 #define SIGXCPU 24
48 #define SIGXFSZ 25
49 #define SIGVTALRM 26
50 #define SIGPROF 27
51 #define SIGWINCH 28
52 #define SIGIO 29
53 #define SIGPOLL SIGIO
54 #define SIGPWR 30
55 #define SIGSYS 31
56 #define SIGUNUSED 31
58 #define SIG_IGN 1
59 #define SIG_DFL 2
61 typedef void (*sighandler_t)(int);
62 typedef unsigned int sigset_t;
64 extern sighandler_t signal (int signum, sighandler_t handler);
66 #endif