Lines Matching refs:ofd
922 start_charshunt(ifd, ofd)
923 int ifd, ofd;
927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
972 * (We assume ofd >= ifd which is true the way this gets called. :-).
975 charshunt(ifd, ofd, record_file)
976 int ifd, ofd;
1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1040 ifd, ofd, pty_master);
1060 if (ofd != ifd) {
1061 flags = fcntl(ofd, F_GETFL);
1063 || fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
1080 nfds = (ofd > pty_master? ofd: pty_master) + 1;
1108 FD_SET(ofd, &writey);
1170 close(ofd);
1175 FD_SET(ofd, &writey);
1182 if (FD_ISSET(ofd, &writey)) {
1186 n = write(ofd, obufp, n);