Home
last modified time | relevance | path

Searched refs:evsignal (Results 1 – 4 of 4) sorted by relevance

/external/libevent/
Dsignal.c211 int evsignal, void (__cdecl *handler)(int)) in _evsig_set_handler() argument
225 if (evsignal >= sig->sh_old_max) { in _evsig_set_handler()
226 int new_max = evsignal + 1; in _evsig_set_handler()
228 __func__, evsignal, sig->sh_old_max)); in _evsig_set_handler()
243 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in _evsig_set_handler()
244 if (sig->sh_old[evsignal] == NULL) { in _evsig_set_handler()
256 if (sigaction(evsignal, &sa, sig->sh_old[evsignal]) == -1) { in _evsig_set_handler()
258 mm_free(sig->sh_old[evsignal]); in _evsig_set_handler()
259 sig->sh_old[evsignal] = NULL; in _evsig_set_handler()
263 if ((sh = signal(evsignal, handler)) == SIG_ERR) { in _evsig_set_handler()
[all …]
Devent-internal.h344 int _evsig_set_handler(struct event_base *base, int evsignal,
346 int _evsig_restore_handler(struct event_base *base, int evsignal);
DMakefile.am220 minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
DMakefile.in255 evsignal-internal.h evmap-internal.h changelist-internal.h \
586 minheap-internal.h log-internal.h evsignal-internal.h \