Lines Matching refs:SHIN
122 int SHIN;
467 if (loginsh && isatty(SHIN)) {
468 ttyn = ttyname(SHIN);
469 xclose(SHIN);
470 SHIN = xopen(ttyn, O_RDWR|O_LARGEFILE);
472 (void) ioctl (SHIN, TIOCSPGRP, (ioctl_t) &shpgrp);
490 if ((ttyn = ttyname(SHIN)) != NULL) {
1065 if ((SHIN = dmove(nofile, FSHIN)) < 0)
1068 SHIN = FSHIN;
1071 SHIN = FSHOUT;
1074 SHIN = FSHDIAG;
1080 (void) close_on_exec(SHIN, 1);
1097 if (!(intty = isatty(SHIN))) {
1441 xclose(SHIN);
1574 st->SHIN = SHIN;
1644 SHIN = unit; /* Do this first */
1655 intty = isatty(SHIN);
1678 if (st->SHIN == -1)
1695 xclose(SHIN);
1698 SHIN = st->SHIN;
1735 st.SHIN = -1; /* st_restore checks this */
1749 /* Does nothing before st_save() because st.SHIN == -1 */
2385 (void) close_on_exec(SHIN = dcopy(0, FSHIN), 1);
2388 (void) close_on_exec(OLDSTD = dcopy(SHIN, FOLDSTD), 1);