Lines Matching refs:sh_old
190 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()
265 mm_free(sig->sh_old[evsignal]); in _evsig_set_handler()
266 sig->sh_old[evsignal] = NULL; in _evsig_set_handler()
269 *sig->sh_old[evsignal] = sh; in _evsig_set_handler()
333 sh = sig->sh_old[evsignal]; in _evsig_restore_handler()
334 sig->sh_old[evsignal] = NULL; in _evsig_restore_handler()
410 if (i < base->sig.sh_old_max && base->sig.sh_old[i] != NULL) in evsig_dealloc()
432 if (base->sig.sh_old) { in evsig_dealloc()
433 mm_free(base->sig.sh_old); in evsig_dealloc()
434 base->sig.sh_old = NULL; in evsig_dealloc()