Lines Matching refs:sa
99 struct sigaction sa; in sethandler() local
100 memset(&sa, 0, sizeof(sa)); in sethandler()
101 sa.sa_sigaction = handler; in sethandler()
102 sa.sa_flags = SA_SIGINFO | flags; in sethandler()
103 sigemptyset(&sa.sa_mask); in sethandler()
104 if (sigaction(sig, &sa, 0)) in sethandler()
110 struct sigaction sa; in setsigign() local
111 memset(&sa, 0, sizeof(sa)); in setsigign()
112 sa.sa_sigaction = (void *)SIG_IGN; in setsigign()
113 sa.sa_flags = flags; in setsigign()
114 sigemptyset(&sa.sa_mask); in setsigign()
115 if (sigaction(sig, &sa, 0)) in setsigign()
121 struct sigaction sa; in clearhandler() local
122 memset(&sa, 0, sizeof(sa)); in clearhandler()
123 sa.sa_handler = SIG_DFL; in clearhandler()
124 sigemptyset(&sa.sa_mask); in clearhandler()
125 if (sigaction(sig, &sa, 0)) in clearhandler()