/freebsd-current/contrib/tcsh/ |
H A D | sh.file.c | 96 (void) tcgetattr(SHIN, &tchars); 98 (void) ioctl(SHIN, TCGETA, (ioctl_t) &tchars); 127 (void) xtcsetattr(SHIN, on, &tchars); 129 (void) ioctl(SHIN, on, (ioctl_t) &tchars); 136 (void) ioctl(SHIN, TIOCGETC, (ioctl_t) & tchars); 138 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); 143 (void) ioctl(SHIN, TIOCGETP, (ioctl_t) & sgtty); 146 (void) ioctl(SHIN, TIOCSETP, (ioctl_t) & sgtty); 151 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); 196 (void) ioctl(SHIN, TIOCGET [all...] |
H A D | sh.c | 122 int SHIN; member in struct:saved_state 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 [all...] |
H A D | sh.exec.c | 224 SHIN = 0; 526 int SHIN, SHOUT, SHDIAG, OLDSTD; member in struct:execash_state 549 xclose(SHIN); 553 close_on_exec(SHIN = dmove(state->saveIN, state->SHIN), 1); 583 state.SHIN = SHIN; 588 (void)close_on_exec (state.saveIN = dcopy(SHIN, -1), 1); 595 (void)close_on_exec (SHIN = dcopy(0, -1), 1);
|
H A D | sh.lex.c | 1459 if (ioctl(SHIN, TCGETA, (ioctl_t) & tty) == 0 && 1462 if (ioctl(SHIN, TIOCGETP, (ioctl_t) & tty) == 0 && 1466 if (tcgetattr(SHIN, &tty) == 0 && 1470 if (isatty(SHIN)) 1633 (void) lseek(SHIN, fseekp, L_SET); 1646 c = wide_read(SHIN, fbuf[0], BUFSIZE, 1); 1697 c = wide_read(SHIN, fbuf[buf] + off, roomleft, 0); 1701 if (c == 0 || (c < 0 && fixio(SHIN, errno) == -1)) 1837 (void) lseek(SHIN, (off_t) 0, L_XTND); 1855 if ((x = lseek(SHIN, (off_ [all...] |
H A D | ed.inputl.c | 124 (void) ioctl(SHIN, FIONREAD, (ioctl_t) & chrs); 247 if (xread(SHIN, &tch, 1) < 0) { 775 return 0; /* oops: SHIN was closed */ 786 while ((num_read = xread(SHIN, cbuf + cbp, 1)) == -1) { 787 if (!tried && fixio(SHIN, errno) != -1)
|
H A D | sh.sem.c | 459 oSHIN = SHIN; 495 SHIN = oSHIN; 682 xclose(SHIN); 683 SHIN = -1; 851 (void) dcopy(SHIN, 0);
|
H A D | ed.init.c | 54 #define SHTTY (insource ? OLDSTD : SHIN) 623 (void) ioctl(SHIN, FIONREAD, (ioctl_t) &chrs); 627 chrs = xread(SHIN, buf, min(chrs, BUFSIZE - 1));
|
H A D | sh.misc.c | 272 if (f != SHIN && f != SHOUT && f != SHDIAG && f != OLDSTD && 317 SHIN = 0;
|
H A D | tw.comp.c | 366 (void) dcopy(SHIN, 0);
|
H A D | ed.chared.c | 3393 (void) xwrite(SHIN, "\n", 1); 3396 (void) ioctl(SHIN, TIOCSTI, (ioctl_t) &buf[i]); 3572 if (ioctl(SHIN, TIOCSTAT, (ioctl_t) &c) < 0)
|
H A D | ed.screen.c | 1518 * true if the size was changed. This can fail if SHIN 1533 if (ioctl(SHIN, TIOCGWINSZ, (ioctl_t) &ws) != -1) { 1547 if (ioctl(SHIN, TIOCGSIZE, (ioctl_t) &ts) != -1) {
|
H A D | sh.h | 662 EXTERN int SHIN IZERO; /* Current shell input (script) */
|
H A D | sh.func.c | 505 xclose(SHIN); 2430 int SHIN, SHOUT, SHDIAG; member in struct:doeval_state 2446 if (state->saveIN != SHIN) 2447 xclose(SHIN); 2452 close_on_exec(SHIN = dmove(state->saveIN, state->SHIN), 1); 2456 close_on_exec(dcopy(SHIN, 0), 1); 2497 state.SHIN = SHIN; 2501 (void)close_on_exec(state.saveIN = dcopy(SHIN, [all...] |
H A D | tc.os.c | 93 (void) dcopy(SHIN, 0);
|