Lines Matching defs:SHIN
124 int SHIN;
463 if (loginsh && isatty(SHIN)) {
464 ttyn = ttyname(SHIN);
465 xclose(SHIN);
466 SHIN = xopen(ttyn, O_RDWR|O_LARGEFILE);
468 (void) ioctl (SHIN, TIOCSPGRP, (ioctl_t) &shpgrp);
483 if ((ttyn = ttyname(SHIN)) != NULL) {
1074 if ((SHIN = dmove(nofile, FSHIN)) < 0)
1077 SHIN = FSHIN;
1080 SHIN = FSHOUT;
1083 SHIN = FSHDIAG;
1089 (void) close_on_exec(SHIN, 1);
1106 if (!(intty = isatty(SHIN))) {
1417 xclose(SHIN);
1550 st->SHIN = SHIN;
1620 SHIN = unit; /* Do this first */
1631 intty = isatty(SHIN);
1654 if (st->SHIN == -1)
1671 xclose(SHIN);
1674 SHIN = st->SHIN;
1711 st.SHIN = -1; /* st_restore checks this */
1725 /* Does nothing before st_save() because st.SHIN == -1 */
2353 (void) close_on_exec(SHIN = dcopy(0, FSHIN), 1);
2356 (void) close_on_exec(OLDSTD = dcopy(SHIN, FOLDSTD), 1);