13 lines
246 B
C
13 lines
246 B
C
#ifndef _SIGNALS_H
|
|
#define _SIGNALS_H
|
|
|
|
#define SIG_DEFAULT 0x00
|
|
#define SIG_IGNORE 0x01
|
|
|
|
int signal_remove_callback(int signum, int type);
|
|
int signal_set_callback(int signum, void (*callback)(void));
|
|
|
|
int signal_init(void);
|
|
|
|
#endif // _SIGNALS_H
|