piler/src/sig.h

19 lines
322 B
C
Raw Normal View History

2011-11-14 15:57:52 +01:00
/*
* sig.h, SJ
*/
#ifndef _SIG_H
#define _SIG_H
typedef void signal_func (int);
2011-11-14 15:57:52 +01:00
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);
2013-04-09 14:50:27 +02:00
signal_func *set_signal_handler(int signo, signal_func * func);
2011-11-14 15:57:52 +01:00
#endif