2 #ifndef WIBBLE_SYS_SIGNAL_H
3 #define WIBBLE_SYS_SIGNAL_H
21 #define SIG_BLOCK 0 // FIXME, is this reasonable?
26 if (sigprocmask(how, &newset, &oldset) < 0)
35 if (sigprocmask(SIG_SETMASK, &oldset, NULL) < 0)
45 struct sigaction oldact;
51 if (sigaction(signum, &act, &oldact) < 0)
60 if (sigaction(
signum, &oldact, NULL) < 0)