Lines Matching refs:pty
246 static int pty; /* side of pty that gets ioctls */ variable
2780 pty = t; in doit()
2790 if (ioctl(pty, TIOCGETP, &b) == -1) in doit()
2793 if (ioctl(pty, TIOCSETN, &b) == -1) in doit()
3521 if (ioctl(pty, TIOCGLTC, &tmpltc) == -1) in telrcv()
3547 if (ioctl(pty, TIOCGETP, &b) == -1) in telrcv()
4004 (void) ioctl(pty, TIOCSWINSZ, &ws); in suboption()
4201 if (tcgetattr(pty, &tios) < 0) in mode()
4229 if (tcsetattr(pty, TCSANOW, &tios) < 0) in mode()
4245 if (ioctl(pty, TIOCGETP, &b) == -1) in interrupt()
4251 *pfrontp++ = ioctl(pty, TIOCGETC, &tchars) < 0 ? in interrupt()
4267 (void) ioctl(pty, TIOCGETP, &b); in sendbrk()
4272 *pfrontp++ = ioctl(pty, TIOCGETC, &tchars) < 0 ? in sendbrk()