Home | History | Annotate | Download | only in src

Lines Matching refs:unit

1365 		if (u == iop->unit)
1391 if (e->savefd[iop->unit] == 0) {
1392 /* If these are the same, it means unit was previously closed */
1393 if (u == iop->unit)
1394 e->savefd[iop->unit] = -1;
1398 * redirections. Ask savefd() not to close iop->unit;
1399 * this allows error messages to be seen if iop->unit
1403 e->savefd[iop->unit] = savefd(iop->unit);
1407 close(iop->unit);
1408 else if (u != iop->unit) {
1409 if (ksh_dup2(u, iop->unit, true) < 0) {