Searched refs:ttyi (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c83 * we continue on as before using stdout as ttyi and ttyo. Doesn't work when we're
100 ttyi = fileno(stdout);
102 else if ( (ttyi = open(line, O_RDWR)) == -1 )
105 if ( (ttyo = dup(ttyi)) == -1 ) {
109 if ( fcntl(ttyi, F_SETFL, O_NDELAY) == -1 ) {
113 if ( ioctl(ttyi, TCGETS, &termios) < 0 ) {
114 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) {
125 if ( ioctl(ttyi, TCSETA, &termio) == -1 ) {
137 if ( ioctl(ttyi, TCSETS, &termios) == -1 ) {
142 if ( ioctl(ttyi, TCFLS
[all...]
H A Difdef.h82 extern int ttyi; /* input */
86 extern char mesg[]; /* exactly what came back on ttyi */
H A Dpostio.c182 char mesg[MESGSIZE]; /* exactly what came back on ttyi */
184 int ttyi = 0; /* input */ variable
1203 * on ttyi. Always returns 0 to the caller if the process doesn't have its
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c128 char mesg[BUFSIZE]; /* exactly what came back on ttyi */
139 int ttyi; /* input */ variable
334 ttyi = fileno(stdout);
336 if ((ttyo = dup(ttyi)) == -1)
696 char ch; /* next character from ttyi */
710 while ((n = read(ttyi, &ch, 1)) != 0)
/illumos-gate/usr/src/cmd/filesync/
H A Dmain.c443 { FILE *ttyi, *ttyo; local
451 ttyi = fopen("/dev/tty", "r");
452 if (ttyi == NULL || ttyo == NULL)
460 (void) fgets(ansbuf, sizeof (ansbuf), ttyi);
463 (void) fclose(ttyi);

Completed in 74 milliseconds