Lines Matching refs:sigfd
69 int sigfd[2];
402 if (write(TT.sigfd[1], &ch, 1) != 1) error_msg("can't send signal"); in signal_handler()
462 xpipe(TT.sigfd); in syslogd_main()
464 fcntl(TT.sigfd[1] , F_SETFD, FD_CLOEXEC); in syslogd_main()
465 fcntl(TT.sigfd[0] , F_SETFD, FD_CLOEXEC); in syslogd_main()
466 int flags = fcntl(TT.sigfd[1], F_GETFL); in syslogd_main()
467 fcntl(TT.sigfd[1], F_SETFL, flags | O_NONBLOCK); in syslogd_main()
487 FD_SET(TT.sigfd[0], &rfds); in syslogd_main()
491 retval = select(TT.sigfd[0] + 1, &rfds, NULL, NULL, (TT.interval)?&tv:NULL); in syslogd_main()
496 else if (FD_ISSET(TT.sigfd[0], &rfds)) { /* May be a signal */ in syslogd_main()
499 if (read(TT.sigfd[0], &sig, 1) != 1) { in syslogd_main()