sig_blocknone.c (222B)
1 /* ISC license. */ 2 3 #include <errno.h> 4 #include <signal.h> 5 6 #include <skalibs/sig.h> 7 8 void sig_blocknone (void) 9 { 10 int e = errno ; 11 sigset_t ss ; 12 sigemptyset(&ss) ; 13 sigprocmask(SIG_SETMASK, &ss, 0) ; 14 errno = e ; 15 }