Lines Matching refs:iop
1114 iosetup(iop, tp)
1115 struct ioword *iop;
1119 char *cp = iop->name;
1120 int iotype = iop->flag & IOTYPE;
1129 iotmp = *iop;
1152 if (Flag(FNOCLOBBER) && !(iop->flag & IOCLOB)
1164 u = herein(iop->heredoc, iop->flag & IOEVAL);
1177 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK),
1184 if (u == iop->unit)
1206 if (e->savefd[iop->unit] == 0) {
1208 if (u == iop->unit)
1209 e->savefd[iop->unit] = -1;
1212 * redirections. Ask savefd() not to close iop->unit;
1213 * this allows error messages to be seen if iop->unit
1217 e->savefd[iop->unit] = savefd(iop->unit, 1);
1221 close(iop->unit);
1222 else if (u != iop->unit) {
1223 if (ksh_dup2(u, iop->unit, true) < 0) {
1239 if (iop->flag & IORDUP) /* possible exec <&p */