Searched refs:SHDIAG (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/tcsh/ |
H A D | sh.c | 124 int SHDIAG; member 1114 isdiagatty = isatty(SHDIAG); in main() 1588 st->OLDSTD = st->SHOUT = st->SHDIAG = -1;/* test later to restore these */ in st_save() 1601 if (NEED_SAVE_FD(2,SHDIAG)) { in st_save() 1602 st->SHDIAG = SHDIAG; in st_save() 1603 SHDIAG = dmove(2, -1); in st_save() 1604 (void)close_on_exec(SHDIAG, 1); in st_save() 1703 if (st->SHDIAG != -1) in st_restore() 1704 xclose(SHDIAG), SHDIAG = st->SHDIAG; in st_restore() 2387 (void) close_on_exec(SHDIAG = dcopy(2, FSHDIAG), 1); in initdesc() [all …]
|
H A D | sh.exec.c | 226 SHDIAG = 2; in doexec() 229 isdiagatty = isatty(SHDIAG); in doexec() 526 int SHIN, SHOUT, SHDIAG, OLDSTD; member 551 xclose(SHDIAG); in execash_cleanup() 555 close_on_exec(SHDIAG = dmove(state->saveDIAG, state->SHDIAG), 1); in execash_cleanup() 585 state.SHDIAG = SHDIAG; in execash() 590 (void)close_on_exec (state.saveDIAG = dcopy(SHDIAG, -1), 1); in execash() 597 (void)close_on_exec (SHDIAG = dcopy(2, -1), 1); in execash()
|
H A D | sh.sem.c | 461 oSHDIAG = SHDIAG; in execute() 500 SHDIAG = oSHDIAG; in execute() 678 if ((SHDIAG = dcopy(2, FSHDIAG)) >= 0) { in execute() 679 (void)close_on_exec(SHDIAG, 1); in execute() 680 isdiagatty = isatty(SHDIAG); in execute() 853 (void) dcopy(SHDIAG, 2); in doio() 902 (void) dcopy(SHDIAG, 2); in doio() 950 TCSH_IGNORE(dup(SHDIAG)); in doio()
|
H A D | sh.misc.c | 272 if (f != SHIN && f != SHOUT && f != SHDIAG && f != OLDSTD && in closem() 319 SHDIAG = 2; in closech() 322 isdiagatty = isatty(SHDIAG); in closech()
|
H A D | sh.func.c | 2430 int SHIN, SHOUT, SHDIAG; member 2450 if (state->saveDIAG != SHDIAG) 2451 xclose(SHDIAG); 2454 close_on_exec(SHDIAG = dmove(state->saveDIAG, state->SHDIAG), 1); 2458 close_on_exec(dcopy(SHDIAG, 2), 1); 2499 state.SHDIAG = SHDIAG; 2503 (void)close_on_exec(state.saveDIAG = dcopy(SHDIAG, -1), 1); 2521 (void)close_on_exec(SHDIAG = dcopy(2, -1), 1);
|
H A D | sh.print.c | 243 unit = didfds ? 2 : SHDIAG; in flush()
|
H A D | tc.alloc.c | 69 TCSH_IGNORE(write(didfds ? 2 : SHDIAG, msg, strlen(msg))); in out_of_memory()
|
H A D | tw.comp.c | 368 (void) dcopy(SHDIAG, 2); in tw_result()
|
H A D | tc.os.c | 95 (void) dcopy(SHDIAG, 2); in dosetpath() 817 (void) dmove(SHDIAG, 2); in dobs2cmd()
|
H A D | sh.glob.c | 753 (void) dmove(SHDIAG, 2); in backeval()
|
H A D | sh.h | 664 EXTERN int SHDIAG IZERO; /* Diagnostic output... shell errs go here */
|