Searched refs:ptyfd (Results 1 - 6 of 6) sorted by last modified time

/freebsd-9.3-release/crypto/openssh/
H A Dsession.c675 int fdout, ptyfd, ttyfd, ptymaster; local
680 ptyfd = s->ptyfd;
690 if ((fdout = dup(ptyfd)) < 0) {
693 close(ptyfd);
697 if ((ptymaster = dup(ptyfd)) < 0) {
700 close(ptyfd);
712 close(ptyfd);
724 close(ptyfd);
780 session_set_fds(s, ptyfd, fdou
[all...]
H A Dmonitor.c1425 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd);
1447 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty));
1470 if (mm_send_fd(sock, s->ptyfd) == -1 ||
1482 s->ttyfd = s->ptyfd;
1483 /* no need to dup() because nobody closes ptyfd */
1484 s->ptymaster = s->ptyfd;
1486 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ttyfd);
H A Dmonitor_wrap.c701 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument
742 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 ||
H A Dconfigure11472 int fd, ptyfd, ttyfd, status;
11486 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);
H A Dsession.h41 int ptyfd, ttyfd, ptymaster; member in struct:Session
H A Dsshpty.c64 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument
70 i = openpty(ptyfd, ttyfd, NULL, NULL, NULL);
189 pty_change_window_size(int ptyfd, u_int row, u_int col, argument
199 (void) ioctl(ptyfd, TIOCSWINSZ, &w);

Completed in 93 milliseconds