piler/src/sig.h
SJ 5f5585d519 first demo of the new architecture
Change-Id: Id76636f30173465fbd0e8516d99017b4336de4db
Signed-off-by: SJ <sj@acts.hu>
2016-10-23 22:04:55 +02:00

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