summaryrefslogtreecommitdiff
path: root/src/libstddjb/sig_altignore.c
blob: 304d6f8d26e67d7336b8cffebbef9dc0b21c8932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* ISC license. */

/* MT-unsafe */

#include <skalibs/sig.h>

static void sig_nop (int sig)
{
  (void)sig ;
}

int sig_altignore (int sig)
{
  return sig_catch(sig, &sig_nop) ;
}