nightmaremail

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

sig_hup.c (252B)


      1 #include <signal.h>
      2 #include "sig.h"
      3 
      4 void sig_hangupblock() { sig_block(SIGHUP); }
      5 void sig_hangupunblock() { sig_unblock(SIGHUP); }
      6 void sig_hangupcatch(f) void (*f)(); { sig_catch(SIGHUP,f); }
      7 void sig_hangupdefault() { sig_catch(SIGHUP,SIG_DFL); }