Searched refs:SHDIAG (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/contrib/tcsh/
H A Dsh.exec.c226 SHDIAG = 2;
229 isdiagatty = isatty(SHDIAG);
526 int SHIN, SHOUT, SHDIAG, OLDSTD; member in struct:execash_state
551 xclose(SHDIAG);
555 close_on_exec(SHDIAG = dmove(state->saveDIAG, state->SHDIAG), 1);
585 state.SHDIAG = SHDIAG;
590 (void)close_on_exec (state.saveDIAG = dcopy(SHDIAG, -1), 1);
597 (void)close_on_exec (SHDIAG
[all...]
H A Dsh.c124 int SHDIAG; member in struct:saved_state
1114 isdiagatty = isatty(SHDIAG);
1588 st->OLDSTD = st->SHOUT = st->SHDIAG = -1;/* test later to restore these */
1601 if (NEED_SAVE_FD(2,SHDIAG)) {
1602 st->SHDIAG = SHDIAG;
1603 SHDIAG = dmove(2, -1);
1604 (void)close_on_exec(SHDIAG, 1);
1703 if (st->SHDIAG != -1)
1704 xclose(SHDIAG), SHDIA local
[all...]
H A Dsh.sem.c461 oSHDIAG = SHDIAG;
500 SHDIAG = oSHDIAG;
678 if ((SHDIAG = dcopy(2, FSHDIAG)) >= 0) {
679 (void)close_on_exec(SHDIAG, 1);
680 isdiagatty = isatty(SHDIAG);
853 (void) dcopy(SHDIAG, 2);
902 (void) dcopy(SHDIAG, 2);
950 TCSH_IGNORE(dup(SHDIAG));
H A Dsh.misc.c272 if (f != SHIN && f != SHOUT && f != SHDIAG && f != OLDSTD &&
319 SHDIAG = 2;
322 isdiagatty = isatty(SHDIAG);
H A Dsh.print.c243 unit = didfds ? 2 : SHDIAG;
H A Dtc.alloc.c69 TCSH_IGNORE(write(didfds ? 2 : SHDIAG, msg, strlen(msg)));
H A Dtw.comp.c368 (void) dcopy(SHDIAG, 2);
H A Dsh.h577 EXTERN int isdiagatty IZERO;/* is SHDIAG a tty */
664 EXTERN int SHDIAG IZERO; /* Diagnostic output... shell errs go here */
H A Dsh.glob.c753 (void) dmove(SHDIAG, 2);
H A Dtc.os.c95 (void) dcopy(SHDIAG, 2);
817 (void) dmove(SHDIAG, 2);

Completed in 86 milliseconds