Home
last modified time | relevance | path

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

/external/libevent/
Dsignal.c192 if (base->sig.sh_old) { in evsig_init_()
193 mm_free(base->sig.sh_old); in evsig_init_()
195 base->sig.sh_old = NULL; in evsig_init_()
231 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in evsig_set_handler_()
237 memset((char *)p + sig->sh_old_max * sizeof(*sig->sh_old), in evsig_set_handler_()
238 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in evsig_set_handler_()
241 sig->sh_old = p; in evsig_set_handler_()
245 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in evsig_set_handler_()
246 if (sig->sh_old[evsignal] == NULL) { in evsig_set_handler_()
258 if (sigaction(evsignal, &sa, sig->sh_old[evsignal]) == -1) { in evsig_set_handler_()
[all …]
Devsignal-internal.h52 struct sigaction **sh_old; member
54 ev_sighandler_t **sh_old; member