Lines Matching refs:slave
25 termios::tcgetattr(pty.slave).unwrap();
27 close(pty.slave).expect("closing the slave failed");
56 assert!(pty.slave > 0);
57 let termios = tcgetattr(pty.slave).expect("tcgetattr failed");
59 close(pty.slave).unwrap();
77 assert!(pty.slave > 0);
83 // Read from the slave verifying that the output has been properly transformed
85 crate::read_exact(pty.slave, &mut buf);
88 close(pty.slave).unwrap();
102 assert!(pty.slave > 0);
103 let termios = tcgetattr(pty.slave).unwrap();
105 close(pty.slave).unwrap();
118 assert!(pty.slave > 0);
134 close(pty.slave).unwrap();