Lines Matching refs:sa
45 struct sigaction sa; in sethandler() local
46 memset(&sa, 0, sizeof(sa)); in sethandler()
47 sa.sa_sigaction = handler; in sethandler()
48 sa.sa_flags = SA_SIGINFO | flags; in sethandler()
49 sigemptyset(&sa.sa_mask); in sethandler()
50 if (sigaction(sig, &sa, 0)) in sethandler()
56 struct sigaction sa; in clearhandler() local
57 memset(&sa, 0, sizeof(sa)); in clearhandler()
58 sa.sa_handler = SIG_DFL; in clearhandler()
59 sigemptyset(&sa.sa_mask); in clearhandler()
60 if (sigaction(sig, &sa, 0)) in clearhandler()