Searched refs:evsignal (Results 1 – 4 of 4) sorted by relevance
141 int evsignal, void (*handler)(int)) in _evsignal_set_handler() argument155 if (evsignal >= sig->sh_old_max) { in _evsignal_set_handler()156 int new_max = evsignal + 1; in _evsignal_set_handler()158 __func__, evsignal, sig->sh_old_max)); in _evsignal_set_handler()173 sig->sh_old[evsignal] = malloc(sizeof *sig->sh_old[evsignal]); in _evsignal_set_handler()174 if (sig->sh_old[evsignal] == NULL) { in _evsignal_set_handler()186 if (sigaction(evsignal, &sa, sig->sh_old[evsignal]) == -1) { in _evsignal_set_handler()188 free(sig->sh_old[evsignal]); in _evsignal_set_handler()192 if ((sh = signal(evsignal, handler)) == SIG_ERR) { in _evsignal_set_handler()194 free(sig->sh_old[evsignal]); in _evsignal_set_handler()[all …]
90 int _evsignal_set_handler(struct event_base *base, int evsignal,92 int _evsignal_restore_handler(struct event_base *base, int evsignal);
36 EXTRA_DIST = autogen.sh event.h event-internal.h log.h evsignal.h evdns.3 \
284 EXTRA_DIST = autogen.sh event.h event-internal.h log.h evsignal.h evdns.3 \