Lines Matching refs:master_fd
84 master_fd, slave_name = pty.master_open()
86 (master_fd, slave_name))
101 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL)
102 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK)
104 s1 = os.read(master_fd, 1024)
110 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags)
114 s1 = _readline(master_fd)
121 s2 = _readline(master_fd)
125 os.close(master_fd)
130 pid, master_fd = pty.fork()
175 data = os.read(master_fd, 80)
208 os.close(master_fd)