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

void sig_alarmblock() { sig_block(SIGALRM); }
void sig_alarmunblock() { sig_unblock(SIGALRM); }
void sig_alarmcatch(f) void (*f)(); { sig_catch(SIGALRM,f); }
void sig_alarmdefault() { sig_catch(SIGALRM,SIG_DFL); }