/freebsd-9.3-release/contrib/tcsh/ |
H A D | sh.file.c | 99 (void) tcgetattr(SHIN, &tchars); 101 (void) ioctl(SHIN, TCGETA, (ioctl_t) &tchars); 130 (void) xtcsetattr(SHIN, on, &tchars); 132 (void) ioctl(SHIN, on, (ioctl_t) &tchars); 139 (void) ioctl(SHIN, TIOCGETC, (ioctl_t) & tchars); 141 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); 146 (void) ioctl(SHIN, TIOCGETP, (ioctl_t) & sgtty); 149 (void) ioctl(SHIN, TIOCSETP, (ioctl_t) & sgtty); 154 (void) ioctl(SHIN, TIOCSETC, (ioctl_t) & tchars); 199 (void) ioctl(SHIN, TIOCGET [all...] |
H A D | sh.c | 124 int SHIN; member in struct:saved_state 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 [all...] |
H A D | sh.exec.c | 228 SHIN = 0; 530 int SHIN, SHOUT, SHDIAG, OLDSTD; member in struct:execash_state 553 xclose(SHIN); 557 close_on_exec(SHIN = dmove(state->saveIN, state->SHIN), 1); 587 state.SHIN = SHIN; 592 (void)close_on_exec (state.saveIN = dcopy(SHIN, -1), 1); 599 (void)close_on_exec (SHIN = dcopy(0, -1), 1);
|
H A D | sh.lex.c | 1439 if (ioctl(SHIN, TCGETA, (ioctl_t) & tty) == 0 && 1442 if (ioctl(SHIN, TIOCGETP, (ioctl_t) & tty) == 0 && 1446 if (tcgetattr(SHIN, &tty) == 0 && 1450 if (isatty(SHIN)) 1613 (void) lseek(SHIN, fseekp, L_SET); 1626 c = wide_read(SHIN, fbuf[0], BUFSIZE, 1); 1677 c = wide_read(SHIN, fbuf[buf] + off, roomleft, 0); 1681 if (c == 0 || (c < 0 && fixio(SHIN, errno) == -1)) 1817 (void) lseek(SHIN, (off_t) 0, L_XTND); 1835 if ((x = lseek(SHIN, (off_ [all...] |
H A D | ed.inputl.c | 128 (void) ioctl(SHIN, FIONREAD, (ioctl_t) & chrs); 251 if (xread(SHIN, &tch, 1) < 0) { 777 return 0; /* oops: SHIN was closed */ 788 while ((num_read = xread(SHIN, cbuf + cbp, 1)) == -1) { 789 if (!tried && fixio(SHIN, errno) != -1)
|
H A D | sh.sem.c | 446 oSHIN = SHIN; 482 SHIN = oSHIN; 669 xclose(SHIN); 670 SHIN = -1; 838 (void) dcopy(SHIN, 0);
|
H A D | ed.init.c | 58 #define SHTTY (insource ? OLDSTD : SHIN) 627 (void) ioctl(SHIN, FIONREAD, (ioctl_t) &chrs); 631 chrs = xread(SHIN, buf, min(chrs, BUFSIZE - 1));
|
H A D | sh.misc.c | 272 if (f != SHIN && f != SHOUT && f != SHDIAG && f != OLDSTD && 307 SHIN = 0;
|
H A D | tw.comp.c | 369 (void) dcopy(SHIN, 0);
|
H A D | ed.chared.c | 3389 (void) xwrite(SHIN, "\n", 1); 3392 (void) ioctl(SHIN, TIOCSTI, (ioctl_t) &buf[i]); 3568 if (ioctl(SHIN, TIOCSTAT, (ioctl_t) &c) < 0)
|
H A D | ed.screen.c | 1521 * true if the size was changed. This can fail if SHIN 1536 if (ioctl(SHIN, TIOCGWINSZ, (ioctl_t) &ws) != -1) { 1550 if (ioctl(SHIN, TIOCGSIZE, (ioctl_t) &ts) != -1) {
|
H A D | sh.func.c | 509 xclose(SHIN); 2394 int SHIN, SHOUT, SHDIAG; member in struct:doeval_state 2410 xclose(SHIN); 2413 close_on_exec(SHIN = dmove(state->saveIN, state->SHIN), 1); 2453 state.SHIN = SHIN; 2457 (void)close_on_exec(state.saveIN = dcopy(SHIN, -1), 1); 2475 (void)close_on_exec(SHIN = dcopy(0, -1), 1);
|
H A D | sh.h | 665 EXTERN int SHIN IZERO; /* Current shell input (script) */
|
H A D | tc.os.c | 97 (void) dcopy(SHIN, 0);
|