Lines Matching refs:act
133 struct sigaction act; in abort_handler() local
135 (void) sigemptyset(&act.sa_mask); in abort_handler()
136 act.sa_handler = SIG_DFL; in abort_handler()
137 act.sa_flags = 0; in abort_handler()
138 (void) sigaction(sig, &act, NULL); in abort_handler()
478 struct sigaction act; in daemonize_start() local
480 act.sa_handler = SIG_DFL; in daemonize_start()
481 (void) sigemptyset(&act.sa_mask); in daemonize_start()
482 act.sa_flags = 0; in daemonize_start()
484 (void) sigaction(SIGPIPE, &act, NULL); /* ignore SIGPIPE */ in daemonize_start()
567 struct sigaction act; in main() local
675 (void) sigfillset(&act.sa_mask); in main()
678 act.sa_handler = SIG_IGN; in main()
679 act.sa_flags = 0; in main()
680 (void) sigaction(SIGPIPE, &act, NULL); in main()
681 (void) sigaction(SIGALRM, &act, NULL); in main()
682 (void) sigaction(SIGUSR1, &act, NULL); in main()
683 (void) sigaction(SIGUSR2, &act, NULL); in main()
684 (void) sigaction(SIGPOLL, &act, NULL); in main()
687 act.sa_sigaction = (void (*)(int, siginfo_t *, void *))&abort_handler; in main()
688 act.sa_flags = SA_SIGINFO; in main()
690 (void) sigaction(SIGABRT, &act, NULL); in main()
693 act.sa_sigaction = &handler; in main()
694 act.sa_flags = SA_SIGINFO; in main()
696 (void) sigaction(SIGHUP, &act, NULL); in main()
697 (void) sigaction(SIGINT, &act, NULL); in main()
698 (void) sigaction(SIGTERM, &act, NULL); in main()