| 1 | #include "platform.h" |
| 2 | |
| 3 | const C_Size_t Posix_Signal_sigSetLen = sizeof (sigset_t); |
| 4 | |
| 5 | #if (defined (NSIG)) |
| 6 | const C_Int_t Posix_Signal_NSIG = NSIG; |
| 7 | #elif (defined (_NSIG)) |
| 8 | const C_Int_t Posix_Signal_NSIG = _NSIG; |
| 9 | #else |
| 10 | #error Posix_Signal_numSignals not defined |
| 11 | #endif |
| 12 | |
| 13 | const C_Int_t Posix_Signal_SIG_BLOCK = SIG_BLOCK; |
| 14 | const C_Int_t Posix_Signal_SIG_SETMASK = SIG_SETMASK; |
| 15 | const C_Int_t Posix_Signal_SIG_UNBLOCK = SIG_UNBLOCK; |
| 16 | |
| 17 | #ifndef SIGABRT |
| 18 | #define SIGABRT -1 |
| 19 | #endif |
| 20 | const C_Signal_t Posix_Signal_SIGABRT = SIGABRT; |
| 21 | #ifndef SIGALRM |
| 22 | #define SIGALRM -1 |
| 23 | #endif |
| 24 | const C_Signal_t Posix_Signal_SIGALRM = SIGALRM; |
| 25 | #ifndef SIGBUS |
| 26 | #define SIGBUS -1 |
| 27 | #endif |
| 28 | const C_Signal_t Posix_Signal_SIGBUS = SIGBUS; |
| 29 | #ifndef SIGCHLD |
| 30 | #define SIGCHLD -1 |
| 31 | #endif |
| 32 | const C_Signal_t Posix_Signal_SIGCHLD = SIGCHLD; |
| 33 | #ifndef SIGCONT |
| 34 | #define SIGCONT -1 |
| 35 | #endif |
| 36 | const C_Signal_t Posix_Signal_SIGCONT = SIGCONT; |
| 37 | #ifndef SIGFPE |
| 38 | #define SIGFPE -1 |
| 39 | #endif |
| 40 | const C_Signal_t Posix_Signal_SIGFPE = SIGFPE; |
| 41 | #ifndef SIGHUP |
| 42 | #define SIGHUP -1 |
| 43 | #endif |
| 44 | const C_Signal_t Posix_Signal_SIGHUP = SIGHUP; |
| 45 | #ifndef SIGILL |
| 46 | #define SIGILL -1 |
| 47 | #endif |
| 48 | const C_Signal_t Posix_Signal_SIGILL = SIGILL; |
| 49 | #ifndef SIGINT |
| 50 | #define SIGINT -1 |
| 51 | #endif |
| 52 | const C_Signal_t Posix_Signal_SIGINT = SIGINT; |
| 53 | #ifndef SIGKILL |
| 54 | #define SIGKILL -1 |
| 55 | #endif |
| 56 | const C_Signal_t Posix_Signal_SIGKILL = SIGKILL; |
| 57 | #ifndef SIGPIPE |
| 58 | #define SIGPIPE -1 |
| 59 | #endif |
| 60 | const C_Signal_t Posix_Signal_SIGPIPE = SIGPIPE; |
| 61 | #ifndef SIGQUIT |
| 62 | #define SIGQUIT -1 |
| 63 | #endif |
| 64 | const C_Signal_t Posix_Signal_SIGQUIT = SIGQUIT; |
| 65 | #ifndef SIGSEGV |
| 66 | #define SIGSEGV -1 |
| 67 | #endif |
| 68 | const C_Signal_t Posix_Signal_SIGSEGV = SIGSEGV; |
| 69 | #ifndef SIGSTOP |
| 70 | #define SIGSTOP -1 |
| 71 | #endif |
| 72 | const C_Signal_t Posix_Signal_SIGSTOP = SIGSTOP; |
| 73 | #ifndef SIGTERM |
| 74 | #define SIGTERM -1 |
| 75 | #endif |
| 76 | const C_Signal_t Posix_Signal_SIGTERM = SIGTERM; |
| 77 | #ifndef SIGTSTP |
| 78 | #define SIGTSTP -1 |
| 79 | #endif |
| 80 | const C_Signal_t Posix_Signal_SIGTSTP = SIGTSTP; |
| 81 | #ifndef SIGTTIN |
| 82 | #define SIGTTIN -1 |
| 83 | #endif |
| 84 | const C_Signal_t Posix_Signal_SIGTTIN = SIGTTIN; |
| 85 | #ifndef SIGTTOU |
| 86 | #define SIGTTOU -1 |
| 87 | #endif |
| 88 | const C_Signal_t Posix_Signal_SIGTTOU = SIGTTOU; |
| 89 | #ifndef SIGUSR1 |
| 90 | #define SIGUSR1 -1 |
| 91 | #endif |
| 92 | const C_Signal_t Posix_Signal_SIGUSR1 = SIGUSR1; |
| 93 | #ifndef SIGUSR2 |
| 94 | #define SIGUSR2 -1 |
| 95 | #endif |
| 96 | const C_Signal_t Posix_Signal_SIGUSR2 = SIGUSR2; |
| 97 | #ifndef SIGPOLL |
| 98 | #define SIGPOLL -1 |
| 99 | #endif |
| 100 | const C_Signal_t Posix_Signal_SIGPOLL = SIGPOLL; |
| 101 | #ifndef SIGPROF |
| 102 | #define SIGPROF -1 |
| 103 | #endif |
| 104 | const C_Signal_t Posix_Signal_SIGPROF = SIGPROF; |
| 105 | #ifndef SIGSYS |
| 106 | #define SIGSYS -1 |
| 107 | #endif |
| 108 | const C_Signal_t Posix_Signal_SIGSYS = SIGSYS; |
| 109 | #ifndef SIGTRAP |
| 110 | #define SIGTRAP -1 |
| 111 | #endif |
| 112 | const C_Signal_t Posix_Signal_SIGTRAP = SIGTRAP; |
| 113 | #ifndef SIGURG |
| 114 | #define SIGURG -1 |
| 115 | #endif |
| 116 | const C_Signal_t Posix_Signal_SIGURG = SIGURG; |
| 117 | #ifndef SIGVTALRM |
| 118 | #define SIGVTALRM -1 |
| 119 | #endif |
| 120 | const C_Signal_t Posix_Signal_SIGVTALRM = SIGVTALRM; |
| 121 | #ifndef SIGXCPU |
| 122 | #define SIGXCPU -1 |
| 123 | #endif |
| 124 | const C_Signal_t Posix_Signal_SIGXCPU = SIGXCPU; |
| 125 | #ifndef SIGXFSZ |
| 126 | #define SIGXFSZ -1 |
| 127 | #endif |
| 128 | const C_Signal_t Posix_Signal_SIGXFSZ = SIGXFSZ; |