Home | History | Annotate | Download | only in telnetd

Lines Matching refs:pty

54 struct termios termbuf, termbuf2;	/* pty control structure */
80 (void) tcgetattr(pty, &termbuf);
102 (void) tcsetattr(pty, TCSANOW, &termbuf);
175 * Allocate a pty. As a side effect, the external character
178 * Returns the file descriptor of the opened pty.
228 (void) ioctl(pty, TIOCEXT, (char *)&on);
422 * Open the slave side of the pty, and do any initialization
502 if (pty > 2) {
503 (void) close(pty);
504 pty = -1;
509 * Open the specified slave side of the pty,
522 * is necessary to startup the login process on the slave side of the pty.