skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

sig_altignore.c (180B)


      1 /* ISC license. */
      2 
      3 /* MT-unsafe */
      4 
      5 #include <skalibs/sig.h>
      6 
      7 static void sig_nop (int sig)
      8 {
      9   (void)sig ;
     10 }
     11 
     12 int sig_altignore (int sig)
     13 {
     14   return sig_catch(sig, &sig_nop) ;
     15 }