summaryrefslogtreecommitdiff
path: root/sig_term.c
blob: ca72cc379898aa54c1ad76a374d63148a3170e76 (plain)
1
2
3
4
5
6
7
#include <signal.h>
#include "sig.h"

void sig_termblock() { sig_block(SIGTERM); }
void sig_termunblock() { sig_unblock(SIGTERM); }
void sig_termcatch(f) void (*f)(); { sig_catch(SIGTERM,f); }
void sig_termdefault() { sig_catch(SIGTERM,SIG_DFL); }