nightmaremail

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

sig_pause.c (185B)


      1 #include <signal.h>
      2 #include "sig.h"
      3 #include "hassgprm.h"
      4 
      5 void sig_pause()
      6 {
      7 #ifdef HASSIGPROCMASK
      8   sigset_t ss;
      9   sigemptyset(&ss);
     10   sigsuspend(&ss);
     11 #else
     12   sigpause(0);
     13 #endif
     14 }