Lines Matching refs:READFD
88 #define READFD ypdb->dom_pipe_fds[0] macro
502 if (READFD > 0 && FD_ISSET(READFD, &fdsr)) { in main()
547 if ((d = read(READFD, &buf, sizeof(buf))) <= 0) in handle_children()
550 if ((a = read(READFD, &addr, sizeof(struct sockaddr_in))) < 0) in handle_children()
553 close(READFD); in handle_children()
554 FD_CLR(READFD, &fdsr); in handle_children()
555 FD_CLR(READFD, &svc_fdset); in handle_children()
556 READFD = WRITEFD = -1; in handle_children()
686 close(READFD); in broadcast()
692 close(READFD); in broadcast()
697 FD_SET(READFD, &svc_fdset); in broadcast()
849 close(READFD); in rpc_received()
850 FD_CLR(READFD, &fdsr); in rpc_received()
851 FD_CLR(READFD, &svc_fdset); in rpc_received()
852 READFD = WRITEFD = -1; in rpc_received()