Lines Matching refs:sa
39 struct sigaction sa; in sethandler() local
40 memset(&sa, 0, sizeof(sa)); in sethandler()
41 sa.sa_sigaction = handler; in sethandler()
42 sa.sa_flags = SA_SIGINFO | flags; in sethandler()
43 sigemptyset(&sa.sa_mask); in sethandler()
44 if (sigaction(sig, &sa, 0)) in sethandler()
50 struct sigaction sa; in clearhandler() local
51 memset(&sa, 0, sizeof(sa)); in clearhandler()
52 sa.sa_handler = SIG_DFL; in clearhandler()
53 sigemptyset(&sa.sa_mask); in clearhandler()
54 if (sigaction(sig, &sa, 0)) in clearhandler()