Searched defs:ptyfd (Results 1 - 5 of 5) sorted by relevance

/external/dropbear/
H A Dsshpty.c49 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 Dsshpty.c64 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 Dsession.h41 int ptyfd, ttyfd, ptymaster; member in struct:Session
H A Dmonitor_wrap.c702 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 Dsession.c645 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...]

Completed in 303 milliseconds