blob: 9a15175305efeae6bf0b061228b1a53897d389e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <signal.h>
#include <skalibs/sig.h>
void sig_unblock (int sig)
{
sigset_t ss ;
sigemptyset(&ss) ;
sigaddset(&ss, sig) ;
sigprocmask(SIG_UNBLOCK, &ss, 0) ;
}
|