Lines Matching refs:write
1069 /* Clear any write errors */
1663 coproc.read = coproc.readw = coproc.write = -1;
1693 * Called by c_print when a write to a fd fails with EPIPE and by iosetup
1699 if (coproc.write >= 0 && fd == coproc.write) {
1700 close(coproc.write);
1701 coproc.write = -1;
1712 int fd = (mode & R_OK) ? coproc.read : coproc.write;
1739 if (coproc.write >= 0) {
1740 close(coproc.write);
1741 coproc.write = -1;