Searched refs:didfds (Results 1 – 15 of 15) sorted by relevance
177 if (haderr ? (didfds ? is2atty : isdiagatty) : in xputchar()178 (didfds ? is1atty : isoutatty)) in xputchar()189 if (haderr ? (didfds ? is2atty : isdiagatty) : in putraw()190 (didfds ? is1atty : isoutatty)) { in putraw()243 unit = didfds ? 2 : SHDIAG; in flush()245 unit = didfds ? 1 : SHOUT; in flush()248 if (didfds == 0 && ioctl(unit, TIOCLGET, (ioctl_t) & lmode) == 0 && in flush()
107 !t->t_dcdr && !t->t_dcar && !t->t_dflg && !didfds && in execute()455 odidfds = didfds; in execute()494 didfds = odidfds; in execute()603 if (didfds == 0 && t->t_dflg & F_PIPEOUT) { in execute()610 if (didfds == 0 && t->t_dflg & F_PIPEIN) { in execute()691 didfds = 0; in execute()760 if (didfds && !(t->t_dflg & F_REPEAT)) in execute()842 if (didfds || (flags & F_REPEAT)) in doio()956 didfds = 1; in doio()
527 int didfds; member548 didfds = state->didfds; in execash_cleanup()579 state.didfds = didfds; in execash()601 didfds = 0; in execash()621 int odidfds = didfds; in xechoit()624 didfds = 0; in xechoit()627 didfds = odidfds; in xechoit()
472 (haderr ? (didfds ? is2atty : isdiagatty) : in print_with_color()473 (didfds ? is1atty : isoutatty))) { in print_with_color()
2425 int didfds; member2445 didfds = state->didfds;2455 if (didfds) {2493 state.didfds = didfds;2525 didfds = 0;
1589 if (didfds) { in st_save()2084 int odidfds = didfds; in process()2086 didfds = 0; in process()2090 didfds = odidfds; in process()2384 didfds = 0; /* 0, 1, 2 aren't set up */ in initdesc()
1286 oldidfds = didfds; in rechist()1287 didfds = 0; in rechist()1322 didfds = oldidfds; in rechist()1342 didfds = oldidfds; in rechist()
1395 oldidfds = didfds; in recdirs()1396 didfds = 0; in recdirs()1420 didfds = oldidfds; in recdirs()
92 if (!didfds) { in dosetpath()96 didfds = 1; in dosetpath()1074 if (!didfds) in fix_strcoll_bug()
337 didfds = 0; in donefds()
69 TCSH_IGNORE(write(didfds ? 2 : SHDIAG, msg, strlen(msg))); in out_of_memory()
360 if (didfds == 0) { in tw_result()
563 didfds = 0; /* Forget about 0,1,2 */ in fixerror()
556 EXTERN int didfds IZERO; /* Have setup i/o fd's for child */
2177 if (!columns || !isatty(didfds ? 1 : SHOUT)) in print_by_column()