Lines Matching refs:sa
33 struct sigaction sa; in sethandler() local
35 memset(&sa, 0, sizeof(sa)); in sethandler()
36 sa.sa_sigaction = handler; in sethandler()
37 sa.sa_flags = SA_SIGINFO | flags; in sethandler()
38 sigemptyset(&sa.sa_mask); in sethandler()
39 if (sigaction(sig, &sa, 0)) in sethandler()
45 struct sigaction sa; in clearhandler() local
47 memset(&sa, 0, sizeof(sa)); in clearhandler()
48 sa.sa_handler = SIG_DFL; in clearhandler()
49 sigemptyset(&sa.sa_mask); in clearhandler()
50 if (sigaction(sig, &sa, 0)) in clearhandler()