Lines Matching refs:sa
28 struct sigaction sa; in sethandler() local
29 memset(&sa, 0, sizeof(sa)); in sethandler()
30 sa.sa_sigaction = handler; in sethandler()
31 sa.sa_flags = SA_SIGINFO | flags; in sethandler()
32 sigemptyset(&sa.sa_mask); in sethandler()
33 if (sigaction(sig, &sa, 0)) in sethandler()
40 struct sigaction sa; in clearhandler() local
41 memset(&sa, 0, sizeof(sa)); in clearhandler()
42 sa.sa_handler = SIG_DFL; in clearhandler()
43 sigemptyset(&sa.sa_mask); in clearhandler()
44 if (sigaction(sig, &sa, 0)) in clearhandler()