Searched refs:SHIN (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c167 int SHIN, SHOUT, SHDIAG, OLDSTD, tpgrp; member in struct:sv
184 sv.SHIN = SHIN; sv.SHOUT = SHOUT;
200 SHIN = sv.SHIN;
315 (void) close(SHIN);
316 (void) unsetfd(SHIN);
317 SHIN = -1;
H A Dsh.file.c85 (void) ioctl(SHIN, TCGETS, (char *)&tty_save);
88 (void) ioctl(SHIN, TCSETSW, (char *)&tty_save);
98 (void) ioctl(SHIN, TCSETSW, (char *)&tty_new);
103 (void) ioctl(SHIN, TCSETSW, (char *)&tty_save);
170 (void) ioctl(SHIN, TCSETSF, (char *)&tty);
181 if (ioctl(SHIN, TIOCSTI, mbc + i) != 0 &&
191 (void) ioctl(SHIN, TCSETS, (char *)&tty_new);
379 (void) ioctl(SHIN, TCSETS, (char *)&tty_pending);
714 while ((i = read_(SHIN, inputline+num_read, inputline_size-num_read))
742 (void) ioctl(SHIN, TCSETS
[all...]
H A Dsh.c367 SHIN = dmove(nofile, FSHIN); /* Replace FSHIN */
368 (void) fcntl(SHIN, F_SETFD, 1);
376 intty = intact || isatty(SHIN);
556 (void) close(SHIN); /* No need for unsetfd(). */
687 * If we weren't careful an interrupt could corrupt SHIN's Bin
706 oSHIN = SHIN, SHIN = unit, arginp = 0, onelflg = 0;
707 intty = isatty(SHIN), whyles = 0, gointr = 0;
737 (void) close(SHIN), SHIN local
[all...]
H A Dsh.lex.c1224 if (ioctl(SHIN, TIOCGETP, (char *)&tty) == 0 &&
1291 (void) lseek(SHIN, fseekp, 0);
1296 c = read_(SHIN, fbuf[0], BUFSIZ);
1318 c = read_(SHIN, fbuf[buf] + off, BUFSIZ - off);
1335 c = read_(SHIN, fbuf[buf] + off, roomleft);
1349 (void) ioctl(SHIN, FIONBIO, (char *)&off);
1424 (void) lseek(SHIN, (off_t)0, 2);
1438 if (lseek(SHIN, (off_t)0, 1) < 0 || errno == ESPIPE)
1443 fseekp = fbobp = feobp = lseek(SHIN, (off_t)0, 1);
H A Dsh.exec.c106 SHIN = 0; SHOUT = 1; SHDIAG = 2; OLDSTD = 0;
H A Dsh.func.c493 (void) close(SHIN);
494 unsetfd(SHIN);
H A Dsh.h179 short SHIN; /* Current shell input (script) */ variable

Completed in 101 milliseconds