summaryrefslogtreecommitdiff
path: root/src/libstddjb/sig_push.c
blob: 96e5fb2e055fbf8cb0b5ac89f56f2528a0ccfc23 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

/* MT-unsafe */

#include <skalibs/sig.h>

int sig_push (int sig, skasighandler_t_ref f)
{
  struct skasigaction ssa = { f, SKASA_MASKALL | SKASA_NOCLDSTOP } ;
  return sig_pusha(sig, &ssa) ;
}