mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 09:20:13 +01:00
17 lines
289 B
C
17 lines
289 B
C
/*
|
|
* sig.h, SJ
|
|
*/
|
|
|
|
#ifndef _SIG_H
|
|
#define _SIG_H
|
|
|
|
void sig_block(int sig);
|
|
void sig_unblock(int sig);
|
|
void sig_catch(int sig, void (*f)());
|
|
void sig_uncatch(int sig);
|
|
void sig_pause();
|
|
int wait_nohang(int *wstat);
|
|
signal_func *set_signal_handler(int signo, signal_func * func);
|
|
|
|
#endif
|