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