Lines Matching refs:close
1120 close(fd);
1121 close(2);
1122 close(1);
1123 close(0);
1151 /* close all file descriptors hiding in savefd */
1156 close(ep->savefd[fd]);
1222 * 4 = cannot make fd close-on-exec
1273 close(rv);
1282 close(fd);
1528 close(shl_dbg_fd);
1559 * set close-on-exec flag. See FDBASE in sh.h, maybe 24 not 10 here.
1582 close(fd);
1586 close(ofd);
1599 close(lpv[0]);
1602 close(lpv[1]);
1612 close(pv[0]);
1613 close(pv[1]);
1668 /* Called by c_read() when eof is read - close fd if it is the co-process fd */
1674 close(coproc.read);
1680 * Called by c_read() and by iosetup() to close the other side of the
1687 close(coproc.readw);
1700 close(coproc.write);
1722 * called to close file descriptors related to the coprocess (if any)
1731 close(coproc.read);
1735 close(coproc.readw);
1740 close(coproc.write);
1793 /* map us high and mark as close-on-exec */
1795 close(i);