Searched refs:ptyfd (Results 1 - 6 of 6) sorted by relevance
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | sshpty.c | 48 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 53 i = openpty(ptyfd, ttyfd, buf, NULL, NULL); 124 pty_change_window_size(int ptyfd, u_int row, u_int col, argument 134 (void) ioctl(ptyfd, TIOCSWINSZ, &w);
|
H A D | session.h | 45 int ptyfd, ttyfd, ptymaster; member in struct:Session
|
H A D | session.c | 548 int fdout, ptyfd, ttyfd, ptymaster; local 553 ptyfd = s->ptyfd; 570 if ((fdout = dup(ptyfd)) == -1) { 573 close(ptyfd); 577 if ((ptymaster = dup(ptyfd)) == -1) { 580 close(ptyfd); 592 close(ptyfd); 601 close(ptyfd); 638 session_set_fds(ssh, s, ptyfd, fdou [all...] |
H A D | monitor.c | 1535 debug3_f("tty %s ptyfd %d", s->tty, s->ptyfd); 1558 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); 1583 if (mm_send_fd(sock, s->ptyfd) == -1 || 1595 s->ttyfd = s->ptyfd; 1596 /* no need to dup() because nobody closes ptyfd */ 1597 s->ptymaster = s->ptyfd; 1599 debug3_f("tty %s ptyfd %d", s->tty, s->ttyfd);
|
H A D | monitor_wrap.c | 556 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 600 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 ||
|
/netbsd-current/libexec/telnetd/ |
H A D | sys_term.c | 186 int ptyfd; local 188 ptyfd = openpty(ptynum, &ptyslavefd, line, NULL, NULL); 189 if (ptyfd == 0)
|
Completed in 148 milliseconds