Home | History | Annotate | Download | only in mail

Lines Matching refs:sigaction

195 	struct sigaction nsa;
196 struct sigaction osa;
205 (void)sigaction(signo, &nsa, &osa);
214 (void)sigaction(signo, &osa, NULL);
266 struct sigaction sa;
267 struct sigaction osa;
289 (void)sigaction(SIGTSTP, &sa, NULL);
290 (void)sigaction(SIGTTIN, &sa, NULL);
291 (void)sigaction(SIGTTOU, &sa, NULL);
305 if (sigaction(SIGHUP, &sa, &osa) != -1 && osa.sa_handler == SIG_IGN)
308 if (sigaction(SIGINT, &sa, &osa) != -1 && osa.sa_handler == SIG_IGN)
326 (void)sigaction(SIGPIPE, &sa, NULL);
376 sig_ignore(int sig, struct sigaction *osa, sigset_t *oset)
378 struct sigaction act;
385 error = sigaction(sig, &act, osa);
401 sig_restore(int sig, struct sigaction *osa, sigset_t *oset)
409 error = sigaction(sig, osa, NULL);
415 * Change the current flags and (optionally) return the old sigaction
420 sig_setflags(int signo, int flags, struct sigaction *osa)
422 struct sigaction sa;
424 if (sigaction(signo, NULL, &sa) == -1)
429 return sigaction(signo, &sa, NULL);