Lines Matching refs:master_fd
34 master_fd, slave_name = _open_terminal()
36 return master_fd, slave_fd
44 master_fd, slave_fd = os.openpty()
50 return master_fd, slave_name
101 master_fd, slave_fd = openpty()
106 os.close(master_fd)
122 return pid, master_fd
134 def _copy(master_fd, master_read=_read, stdin_read=_read): argument
139 fds = [master_fd, STDIN_FILENO]
143 if master_fd in rfds:
147 data = master_read(master_fd)
161 _writen(master_fd, data)
169 pid, master_fd = fork()
181 _copy(master_fd, master_read, stdin_read)
186 close(master_fd)