blob: 4beb87f5fd0aa4ca20b247cf9a1a9832728629e4 (
plain)
1
2
3
4
5
6
7
|
#include <signal.h>
#include "sig.h"
void sig_hangupblock() { sig_block(SIGHUP); }
void sig_hangupunblock() { sig_unblock(SIGHUP); }
void sig_hangupcatch(f) void (*f)(); { sig_catch(SIGHUP,f); }
void sig_hangupdefault() { sig_catch(SIGHUP,SIG_DFL); }
|