Lines Matching refs:wfd
1494 int wfd; in w_char() local
1498 wfd = WIOFD(fd); in w_char()
1499 wiobuf = &Wiobuf[wfd*WRIOBSZ]; in w_char()
1501 if (Wiop[wfd] >= &wiobuf[WRIOBSZ]) { in w_char()
1506 *(Wiop[wfd]++) = _Cxc & WMASK(fd); /* mask off appropriate bits */ in w_char()
1515 int wfd; local
1519 wfd = WIOFD(fd);
1520 wiobuf = &Wiobuf[wfd*WRIOBSZ];
1522 if (Wiop[wfd] > wiobuf) {
1524 while(write(fd, wiobuf, (Wiop[wfd] - wiobuf)) < 0) {
1532 Wiop[wfd] = wiobuf;
1537 Wiop[wfd] = wiobuf;