Lines Matching defs:ifd
2587 start_charshunt(ifd, ofd)
2588 int ifd, ofd;
2607 charshunt(ifd, ofd, record_file);
2638 * (We assume ofd >= ifd which is true the way this gets called. :-).
2641 charshunt(ifd, ofd, record_file)
2642 int ifd, ofd;
2715 flags = fcntl(ifd, F_GETFL);
2717 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
2718 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty"));
2719 if (ofd != ifd) {
2760 } else if (ifd >= 0)
2761 FD_SET(ifd, &ready);
2791 if (FD_ISSET(ifd, &ready)) {
2793 nibuf = read(ifd, ibufp, sizeof(inpacket_buf));
2806 (void) close(ifd);
2807 ifd = -1;