Lines Matching full:coproc
1514 coproc.read = coproc.readw = coproc.write = -1;
1515 coproc.njobs = 0;
1516 coproc.id = 0;
1523 if (coproc.read >= 0 && fd == coproc.read) {
1525 close(coproc.read);
1526 coproc.read = -1;
1537 if (coproc.readw >= 0 && coproc.read >= 0 && fd == coproc.read) {
1538 close(coproc.readw);
1539 coproc.readw = -1;
1550 if (coproc.write >= 0 && fd == coproc.write) {
1551 close(coproc.write);
1552 coproc.write = -1;
1563 int fd = (mode & R_OK) ? coproc.read : coproc.write;
1580 if (!reuse || coproc.readw < 0 || coproc.read < 0) {
1581 if (coproc.read >= 0) {
1582 close(coproc.read);
1583 coproc.read = -1;
1585 if (coproc.readw >= 0) {
1586 close(coproc.readw);
1587 coproc.readw = -1;
1590 if (coproc.write >= 0) {
1591 close(coproc.write);
1592 coproc.write = -1;