Lines Matching refs:SHDIAG
124 int SHDIAG;
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), SHDIAG = st->SHDIAG;
2387 (void) close_on_exec(SHDIAG = dcopy(2, FSHDIAG), 1);
2392 if (SHDIAG >= 0)
2393 isdiagatty = isatty(SHDIAG);
2396 if (SHDIAG >= 0)