Home
last modified time | relevance | path

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

/openbsd/src/bin/pax/
Dpax.c369 setup_sig(int sig, const struct sigaction *n_hand) in setup_sig() argument
379 return (sigaction(sig, n_hand, NULL)); in setup_sig()
392 struct sigaction n_hand; in gen_init() local
445 memset(&n_hand, 0, sizeof n_hand); in gen_init()
446 n_hand.sa_mask = s_mask; in gen_init()
447 n_hand.sa_flags = 0; in gen_init()
448 n_hand.sa_handler = sig_cleanup; in gen_init()
450 if (setup_sig(SIGHUP, &n_hand) || in gen_init()
451 setup_sig(SIGTERM, &n_hand) || in gen_init()
452 setup_sig(SIGINT, &n_hand) || in gen_init()
[all …]