- Implemented first part of signal support.
[planlOS.git] / shared / include / planlos / signals.h
blob6886b4a65b3cfa5bdcb603a960d4f23bf0b90b40
1 /*
2 Copyright (C) 2008 Mathias Gottschlag
4 Permission is hereby granted, free of charge, to any person obtaining a copy of
5 this software and associated documentation files (the "Software"), to deal in the
6 Software without restriction, including without limitation the rights to use,
7 copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
8 Software, and to permit persons to whom the Software is furnished to do so,
9 subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 #ifndef PLANLOS_SIGNALS_INCLUDED
23 #define PLANLOS_SIGNALS_INCLUDED
25 #define SIGABRT 1
26 #define SIGALRM 2
27 #define SIGFPE 3
28 #define SIGHUP 4
29 #define SIGILL 5
30 #define SIGINT 6
31 #define SIGKILL 7
32 #define SIGPIPE 8
33 #define SIGQUIT 9
34 #define SIGSEGV 10
35 #define SIGTERM 11
36 #define SIGUSR1 12
37 #define SIGUSR2 13
38 #define SIGCHLD 14
39 #define SIGCONT 15
40 #define SIGSTOP 16
41 #define SIGTSTP 17
42 #define SIGTTIN 18
43 #define SIGTTOU 19
44 #define SIGBUS 20
45 #define SIGPOLL 21
46 #define SIGPROF 22
47 #define SIGSYS 23
48 #define SIGTRAP 24
49 #define SIGURG 25
50 #define SIGVTALRM 26
51 #define SIGXCPU 27
52 #define SIGXFSZ 28
53 #define SIGWINCH 29
55 #define NSIG 30
57 #endif