Lines Matching refs:SHDIAG
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()
2392 if (SHDIAG >= 0) in initdesc()
2393 isdiagatty = isatty(SHDIAG); in initdesc()
2396 if (SHDIAG >= 0) in initdesc()