Lines Matching refs:slave_fd
30 slave_fd = slave_open(slave_name)
31 return master_fd, slave_fd
39 master_fd, slave_fd = os.openpty()
43 slave_name = os.ttyname(slave_fd)
44 os.close(slave_fd)
96 master_fd, slave_fd = openpty()
104 os.dup2(slave_fd, STDIN_FILENO)
105 os.dup2(slave_fd, STDOUT_FILENO)
106 os.dup2(slave_fd, STDERR_FILENO)
107 if (slave_fd > STDERR_FILENO):
108 os.close (slave_fd)
114 os.close(slave_fd)