Lines Matching refs:close
992 close(fd);
993 close(2);
994 close(1);
995 close(0);
1025 /* close all file descriptors hiding in savefd */
1030 close(ep->savefd[fd]);
1086 * 4 = cannot make fd close-on-exec
1137 close(rv);
1146 close(fd);
1360 close(shl_dbg_fd);
1391 * set close-on-exec flag. See FDBASE in sh.h, maybe 24 not 10 here.
1414 close(fd);
1418 close(ofd);
1431 close(lpv[0]);
1434 close(lpv[1]);
1440 close(pv[0]);
1441 close(pv[1]);
1494 /* Called by c_read() when eof is read - close fd if it is the co-process fd */
1500 close(coproc.read);
1506 * Called by c_read() and by iosetup() to close the other side of the
1513 close(coproc.readw);
1526 close(coproc.write);
1548 * called to close file descriptors related to the coprocess (if any)
1557 close(coproc.read);
1561 close(coproc.readw);
1566 close(coproc.write);
1627 /* map us high and mark as close-on-exec */
1629 close(i);