sigquit.h 299 B

12345678910111213141516
  1. #ifndef SIGQUIT_H_
  2. #define SIGQUIT_H_
  3. #include <signal.h>
  4. /* Set to a non-zero value when SIGQUIT is received. */
  5. extern sig_atomic_t sigquit_received;
  6. /**
  7. * sigquit_init(void):
  8. * Prepare to catch SIGQUIT and ^Q, and zero sigquit_received.
  9. */
  10. int sigquit_init(void);
  11. #endif /* !SIGQUIT_H_ */