nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

sig_term.c (248B)


      1 #include <signal.h>
      2 #include "sig.h"
      3 
      4 void sig_termblock() { sig_block(SIGTERM); }
      5 void sig_termunblock() { sig_unblock(SIGTERM); }
      6 void sig_termcatch(f) void (*f)(); { sig_catch(SIGTERM,f); }
      7 void sig_termdefault() { sig_catch(SIGTERM,SIG_DFL); }