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

/freebsd-9.3-release/contrib/tcsh/
H A Dsh.exec.c230 SHDIAG = 2;
233 isdiagatty = isatty(SHDIAG);
530 int SHIN, SHOUT, SHDIAG, OLDSTD; member in struct:execash_state
555 xclose(SHDIAG);
559 close_on_exec(SHDIAG = dmove(state->saveDIAG, state->SHDIAG), 1);
589 state.SHDIAG = SHDIAG;
594 (void)close_on_exec (state.saveDIAG = dcopy(SHDIAG, -1), 1);
601 (void)close_on_exec (SHDIAG
[all...]
H A Dsh.c126 int SHDIAG; member in struct:saved_state
1123 isdiagatty = isatty(SHDIAG);
1564 st->OLDSTD = st->SHOUT = st->SHDIAG = -1;/* test later to restore these */
1577 if (NEED_SAVE_FD(2,SHDIAG)) {
1578 st->SHDIAG = SHDIAG;
1579 SHDIAG = dmove(2, -1);
1580 (void)close_on_exec(SHDIAG, 1);
1679 if (st->SHDIAG != -1)
1680 xclose(SHDIAG), SHDIA local
[all...]
H A Dsh.sem.c448 oSHDIAG = SHDIAG;
487 SHDIAG = oSHDIAG;
665 if ((SHDIAG = dcopy(2, FSHDIAG)) >= 0) {
666 (void)close_on_exec(SHDIAG, 1);
667 isdiagatty = isatty(SHDIAG);
840 (void) dcopy(SHDIAG, 2);
889 (void) dcopy(SHDIAG, 2);
937 TCSH_IGNORE(dup(SHDIAG));
H A Dsh.misc.c272 if (f != SHIN && f != SHOUT && f != SHDIAG && f != OLDSTD &&
309 SHDIAG = 2;
312 isdiagatty = isatty(SHDIAG);
H A Dsh.print.c247 unit = didfds ? 2 : SHDIAG;
H A Dtc.alloc.c69 write(didfds ? 2 : SHDIAG, msg, strlen(msg));
H A Dtw.comp.c371 (void) dcopy(SHDIAG, 2);
H A Dsh.glob.c741 (void) dmove(SHDIAG, 2);
H A Dsh.h584 EXTERN int isdiagatty IZERO;/* is SHDIAG a tty */
667 EXTERN int SHDIAG IZERO; /* Diagnostic output... shell errs go here */
H A Dtc.os.c99 (void) dcopy(SHDIAG, 2);
821 (void) dmove(SHDIAG, 2);

Completed in 191 milliseconds