Searched refs:ptyfd (Results 1 - 7 of 7) sorted by relevance
/external/dropbear/ |
H A D | sshpty.c | 49 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) argument 56 i = openpty(ptyfd, ttyfd, NULL, NULL, NULL); 77 slave = _getpty(ptyfd, O_RDWR, 0622, 0); 89 close(*ptyfd); 126 *ptyfd = ptm; 133 close(*ptyfd); 162 *ptyfd = open("/dev/ptc", O_RDWR | O_NOCTTY); 163 if (*ptyfd < 0) { 168 name = ttyname(*ptyfd); 178 close(*ptyfd); 343 pty_change_window_size(int ptyfd, int row, int col, int xpixel, int ypixel) argument [all...] |
/external/openssh/ |
H A D | session.h | 41 int ptyfd, ttyfd, ptymaster; member in struct:Session
|
H A D | sshpty.c | 64 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 70 i = openpty(ptyfd, ttyfd, NULL, NULL, NULL); 194 pty_change_window_size(int ptyfd, u_int row, u_int col, argument 204 (void) ioctl(ptyfd, TIOCSWINSZ, &w);
|
H A D | session.c | 645 int fdout, ptyfd, ttyfd, ptymaster; local 650 ptyfd = s->ptyfd; 660 if ((fdout = dup(ptyfd)) < 0) { 663 close(ptyfd); 667 if ((ptymaster = dup(ptyfd)) < 0) { 670 close(ptyfd); 682 close(ptyfd); 694 close(ptyfd); 750 session_set_fds(s, ptyfd, fdou [all...] |
H A D | monitor.c | 1405 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); 1427 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); 1450 if (mm_send_fd(sock, s->ptyfd) == -1 || 1462 s->ttyfd = s->ptyfd; 1463 /* no need to dup() because nobody closes ptyfd */ 1464 s->ptymaster = s->ptyfd; 1466 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ttyfd);
|
H A D | monitor_wrap.c | 702 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 743 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 ||
|
H A D | configure | 9955 int fd, ptyfd, ttyfd, status; 9969 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);
|
Completed in 163 milliseconds