]>
Commit | Line | Data |
---|---|---|
320054e8 DG |
1 | #ifndef __wasilibc___header_bits_signal_h |
2 | #define __wasilibc___header_bits_signal_h | |
3 | ||
446cb3f1 | 4 | #include <wasi/api.h> |
320054e8 | 5 | |
f645f498 SC |
6 | #define SIGHUP __WASI_SIGNAL_HUP |
7 | #define SIGINT __WASI_SIGNAL_INT | |
8 | #define SIGQUIT __WASI_SIGNAL_QUIT | |
9 | #define SIGILL __WASI_SIGNAL_ILL | |
10 | #define SIGTRAP __WASI_SIGNAL_TRAP | |
11 | #define SIGABRT __WASI_SIGNAL_ABRT | |
12 | #define SIGBUS __WASI_SIGNAL_BUS | |
13 | #define SIGFPE __WASI_SIGNAL_FPE | |
14 | #define SIGKILL __WASI_SIGNAL_KILL | |
15 | #define SIGUSR1 __WASI_SIGNAL_USR1 | |
16 | #define SIGSEGV __WASI_SIGNAL_SEGV | |
17 | #define SIGUSR2 __WASI_SIGNAL_USR2 | |
18 | #define SIGPIPE __WASI_SIGNAL_PIPE | |
19 | #define SIGALRM __WASI_SIGNAL_ALRM | |
20 | #define SIGTERM __WASI_SIGNAL_TERM | |
21 | #define SIGCHLD __WASI_SIGNAL_CHLD | |
22 | #define SIGCONT __WASI_SIGNAL_CONT | |
23 | #define SIGSTOP __WASI_SIGNAL_STOP | |
24 | #define SIGTSTP __WASI_SIGNAL_TSTP | |
25 | #define SIGTTIN __WASI_SIGNAL_TTIN | |
26 | #define SIGTTOU __WASI_SIGNAL_TTOU | |
27 | #define SIGURG __WASI_SIGNAL_URG | |
28 | #define SIGXCPU __WASI_SIGNAL_XCPU | |
29 | #define SIGXFSZ __WASI_SIGNAL_XFSZ | |
30 | #define SIGVTALRM __WASI_SIGNAL_VTALRM | |
31 | #define SIGPROF __WASI_SIGNAL_PROF | |
32 | #define SIGWINCH __WASI_SIGNAL_WINCH | |
33 | #define SIGPOLL __WASI_SIGNAL_POLL | |
34 | #define SIGPWR __WASI_SIGNAL_PWR | |
35 | #define SIGSYS __WASI_SIGNAL_SYS | |
320054e8 DG |
36 | |
37 | #define SIGIOT SIGABRT | |
38 | #define SIGIO SIGPOLL | |
39 | #define SIGUNUSED SIGSYS | |
40 | ||
41 | #endif |