Searched refs:ptymaster (Results 1 – 2 of 2) sorted by relevance
47 int ptyfd, ttyfd, ptymaster; member
565 int fdout, ptyfd, ttyfd, ptymaster, pipe_fds[2]; in do_exec_pty() local674 ptymaster = dup(ptyfd); in do_exec_pty()675 if (ptymaster < 0) in do_exec_pty()677 s->ptymaster = ptymaster; in do_exec_pty()2151 if (close(s->ptymaster) < 0) in session_pty_cleanup2()2152 error("close(s->ptymaster/%d): %s", s->ptymaster, strerror(errno)); in session_pty_cleanup2()