diff options
Diffstat (limited to 'src/libstddjb/sig_blockset.c')
-rw-r--r-- | src/libstddjb/sig_blockset.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/sig_blockset.c b/src/libstddjb/sig_blockset.c new file mode 100644 index 0000000..206c157 --- /dev/null +++ b/src/libstddjb/sig_blockset.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <signal.h> +#include <skalibs/sig.h> + +void sig_blockset (sigset_t const *set) +{ + sigprocmask(SIG_SETMASK, set, 0) ; +} |