Searched refs:unlockpt (Results 1 – 25 of 32) sorted by relevance
12
70 if (unlockpt(masterfd) != 0) { in test1()149 if (unlockpt(masterfd) != 0) { in test2()227 if (unlockpt(masterfd) != 0) { in test3()275 if (unlockpt(masterfd) != 0) { in test4()349 if (unlockpt(masterfd[i]) != 0) { in test5()396 if (unlockpt(masterfd) != 0) { in test6()
109 if (unlockpt(masterfd) != 0) { in test1()208 if (unlockpt(masterfd) != 0) { in test2()285 if (unlockpt(masterfd) != 0) { in test4()
45 if (unlockpt(ptmx) != 0) in do_test()
115 if (unlockpt(ptmx)) in do_test()
223 if (unlockpt(masterfd) != 0) in main()
122 if (unlockpt(ptmx)) in open_pty()
43 result = unlockpt(fdm); in unlockpt_0100()
46 "unlockpt",
23 int unlockpt(int fd) in unlockpt() function
231 pub fn unlockpt(fd: &PtyMaster) -> Result<()> { in unlockpt() function232 if unsafe { libc::unlockpt(fd.as_raw_fd()) } < 0 { in unlockpt()
47 result = unlockpt(fdm); in tcflow_0100()
49 result = unlockpt(fd_master); in tcdrain_0100()
124 int unlockpt (int);
121 int unlockpt (int);
93 {int(*p)(int) = unlockpt;} in f()
127 int unlockpt (int);
122 int unlockpt (int);
70 if ::grantpt(fdm) < 0 || ::unlockpt(fdm) < 0 { in openpty()
191 - unlockpt 函数解锁伪终端(pty)的主设备文件,使其可用于打开。
108 unlockpt(&master).expect("unlockpt failed"); in open_ptty_pair()
13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};1245 unlockpt(&fd).expect("unlockpt failed"); in test_ttyname()
871 unlockpt