Home
last modified time | relevance | path

Searched refs:sh_old (Results 1 – 2 of 2) sorted by relevance

/external/libevent/
Dsignal.c190 base->sig.sh_old = NULL; in evsig_init()
229 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in _evsig_set_handler()
235 memset((char *)p + sig->sh_old_max * sizeof(*sig->sh_old), in _evsig_set_handler()
236 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in _evsig_set_handler()
239 sig->sh_old = p; 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()
[all …]
Devsignal-internal.h52 struct sigaction **sh_old; member
54 ev_sighandler_t **sh_old; member