Lines Matching refs:signal
54 static void interrupt(int signal) in interrupt() argument
56 write(signals[1], &signal, sizeof(int)); in interrupt()
194 signal(SIGHUP, interrupt); in main()
195 signal(SIGINT, interrupt); in main()
196 signal(SIGTERM, interrupt); in main()
197 signal(SIGCHLD, interrupt); in main()
198 signal(SIGPIPE, SIG_IGN); in main()
221 int signal; in main() local
222 read(signals[0], &signal, sizeof(int)); in main()
223 log_print(INFO, "Received signal %d", signal); in main()
224 if (signal == SIGCHLD && waitpid(pppd_pid, &status, WNOHANG) == pppd_pid in main()