mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-15 06:30:49 +00:00
20 lines
357 B
C
Executable file
20 lines
357 B
C
Executable file
#ifndef __SIGNAL
|
|
#define __SIGNAL
|
|
|
|
typedef int sig_atomic_t;
|
|
|
|
#define SIG_DFL ((void (*)(int))0)
|
|
#define SIG_ERR ((void (*)(int))-1)
|
|
#define SIG_IGN ((void (*)(int))1)
|
|
|
|
#define SIGABRT 6
|
|
#define SIGFPE 8
|
|
#define SIGILL 4
|
|
#define SIGINT 2
|
|
#define SIGSEGV 11
|
|
#define SIGTERM 15
|
|
|
|
void (*signal(int, void (*)(int)))(int);
|
|
int raise(int);
|
|
|
|
#endif /* __SIGNAL */
|