Lines Matching refs:sig
37 int sig;
328 static void eloop_handle_alarm(int sig)
340 static void eloop_handle_signal(int sig)
345 if ((sig == SIGINT || sig == SIGTERM) && !eloop.pending_terminate) {
356 if (eloop.signals[i].sig == sig) {
382 eloop.signals[i].handler(eloop.signals[i].sig,
390 int eloop_register_signal(int sig, eloop_signal_handler handler,
402 tmp[eloop.signal_count].sig = sig;
408 signal(sig, eloop_handle_signal);