Go to the documentation of this file. 1 #ifndef foodaemonsignalhfoo
2 #define foodaemonsignalhfoo
int daemon_signal_init(int s,...)
Installs signal handlers for the specified signals.
int daemon_signal_fd(void)
Return the file descriptor the daemon should select() on for reading.
int daemon_signal_next(void)
Return the next signal received.
void daemon_signal_done(void)
Free resources of signal handling, should be called before daemon exit.
int daemon_signal_install(int s)
Install a signal handler for the specified signal.