Searched refs:grantpt (Results 1 – 25 of 30) sorted by relevance
12
33 int rev = grantpt(0); in grantpt_0100()47 int ret = grantpt(fd); in ptsname_r_0100()65 int ret = grantpt(fd); in ptsname_r_0200()95 int ret = grantpt(fd); in ptsname_r_0400()
37 result = grantpt(fdm); in unlockpt_0100()
66 if (grantpt(masterfd) != 0) { in test1()145 if (grantpt(masterfd) != 0) { in test2()223 if (grantpt(masterfd) != 0) { in test3()271 if (grantpt(masterfd) != 0) { in test4()344 if (grantpt(masterfd[i]) != 0) { in test5()392 if (grantpt(masterfd) != 0) { in test6()
86 if (grantpt(masterfd) != 0) { in test1()204 if (grantpt(masterfd) != 0) { in test2()281 if (grantpt(masterfd) != 0) { in test4()348 if (grantpt(masterfd) != 0) { in test5()
113 if (grantpt(ptmx)) in do_test()
220 if (grantpt(masterfd) != 0) in main()
120 if (grantpt(ptmx)) in open_pty()
17 int grantpt(int fd) in grantpt() function
118 pub fn grantpt(fd: &PtyMaster) -> Result<()> { in grantpt() function119 if unsafe { libc::grantpt(fd.as_raw_fd()) } < 0 { in grantpt()
41 result = grantpt(fdm); in tcflow_0100()
43 result = grantpt(fd_master); in tcdrain_0100()
123 int grantpt (int);
120 int grantpt (int);
76 {int(*p)(int) = grantpt;} in f()
126 int grantpt (int);
121 int grantpt (int);
70 if ::grantpt(fdm) < 0 || ::unlockpt(fdm) < 0 { in openpty()
107 grantpt(&master).expect("grantpt failed"); in open_ptty_pair()
13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};1244 grantpt(&fd).expect("grantpt failed"); in test_ttyname()
582 grantpt
3067 grantpt
916 grantpt;