mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:20:12 +01:00
5f5585d519
Change-Id: Id76636f30173465fbd0e8516d99017b4336de4db Signed-off-by: SJ <sj@acts.hu>
19 lines
322 B
C
19 lines
322 B
C
/*
|
|
* sig.h, SJ
|
|
*/
|
|
|
|
#ifndef _SIG_H
|
|
#define _SIG_H
|
|
|
|
typedef void signal_func (int);
|
|
|
|
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
|