Lines Matching refs:close
12 use nix::unistd::{close, pause, write};
15 /// This is the correct way to explicitly close a `PtyMaster`
20 close(m.into_raw_fd()).unwrap();
23 // This should work. But if there's been a double close, then it will
230 close(pty.master).unwrap();
231 close(pty.slave).unwrap();
245 close(pty.master).unwrap();
246 close(pty.slave).unwrap();
278 close(pty.master).unwrap();
279 close(pty.slave).unwrap();
310 close(pty.master).unwrap();