Lines Matching refs:act
132 struct sigaction act; in abort_handler() local
134 (void) sigemptyset(&act.sa_mask); in abort_handler()
135 act.sa_handler = SIG_DFL; in abort_handler()
136 act.sa_flags = 0; in abort_handler()
137 (void) sigaction(sig, &act, NULL); in abort_handler()
477 struct sigaction act; in daemonize_start() local
479 act.sa_sigaction = SIG_DFL; in daemonize_start()
480 (void) sigemptyset(&act.sa_mask); in daemonize_start()
481 act.sa_flags = 0; in daemonize_start()
483 (void) sigaction(SIGPIPE, &act, NULL); /* ignore SIGPIPE */ in daemonize_start()
566 struct sigaction act; in main() local
674 (void) sigfillset(&act.sa_mask); in main()
677 act.sa_sigaction = SIG_IGN; in main()
678 act.sa_flags = 0; in main()
679 (void) sigaction(SIGPIPE, &act, NULL); in main()
680 (void) sigaction(SIGALRM, &act, NULL); in main()
681 (void) sigaction(SIGUSR1, &act, NULL); in main()
682 (void) sigaction(SIGUSR2, &act, NULL); in main()
683 (void) sigaction(SIGPOLL, &act, NULL); in main()
686 act.sa_sigaction = (void (*)(int, siginfo_t *, void *))&abort_handler; in main()
687 act.sa_flags = SA_SIGINFO; in main()
689 (void) sigaction(SIGABRT, &act, NULL); in main()
692 act.sa_sigaction = &handler; in main()
693 act.sa_flags = SA_SIGINFO; in main()
695 (void) sigaction(SIGHUP, &act, NULL); in main()
696 (void) sigaction(SIGINT, &act, NULL); in main()
697 (void) sigaction(SIGTERM, &act, NULL); in main()