Home
last modified time | relevance | path

Searched refs:unlockpt (Results 1 - 25 of 26) sorted by relevance

12

/third_party/ltp/testcases/kernel/pty/
H A Dptem01.c70 if (unlockpt(masterfd) != 0) { in test1()
71 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test1()
149 if (unlockpt(masterfd) != 0) { in test2()
150 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test2()
227 if (unlockpt(masterfd) != 0) { in test3()
228 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test3()
275 if (unlockpt(masterfd) != 0) { in test4()
276 tst_brkm(TBROK, NULL, "unlockpt() call failed"); in test4()
349 if (unlockpt(masterfd[i]) != 0) { in test5()
350 tst_brkm(TBROK, NULL, "unlockpt() cal in test5()
[all...]
H A Dpty01.c109 if (unlockpt(masterfd) != 0) { in test1()
110 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() failed"); in test1()
208 if (unlockpt(masterfd) != 0) { in test2()
209 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() call failed"); in test2()
285 if (unlockpt(masterfd) != 0) { in test4()
286 tst_brkm(TBROK | TERRNO, NULL, "unlockpt() call failed"); in test4()
H A Dpty02.c45 if (unlockpt(ptmx) != 0) in do_test()
46 tst_brk(TBROK | TERRNO, "unlockpt() failed"); in do_test()
H A Dpty03.c115 if (unlockpt(ptmx)) in do_test()
116 tst_brk(TBROK | TERRNO, "unlockpt(ptmx)"); in do_test()
H A Dhangup01.c223 if (unlockpt(masterfd) != 0) in main()
224 tst_brkm(TBROK | TERRNO, NULL, "unlockpt"); in main()
H A Dpty04.c122 if (unlockpt(ptmx)) in open_pty()
123 tst_brk(TBROK | TERRNO, "unlockpt(ptmx)"); in open_pty()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dunlockpt.c25 * @tc.desc : Test the unlockpt method to gain access to the pseudo-terminal
43 result = unlockpt(fdm); in unlockpt_0100()
45 t_error("%s unlockpt failed", __func__); in unlockpt_0100()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dpty.c23 int unlockpt(int fd) in unlockpt() function
/third_party/musl/src/misc/
H A Dpty.c23 int unlockpt(int fd) in unlockpt() function
/third_party/musl/libc-test/src/functionalext/supplement/termios/
H A Dtcdrain.c49 result = unlockpt(fd_master); in tcdrain_0100()
51 t_error("%s unlockpt failed", __func__); in tcdrain_0100()
H A Dtcflow.c47 result = unlockpt(fdm); in tcflow_0100()
49 t_error("%s unlockpt failed", __func__); in tcflow_0100()
/third_party/rust/crates/nix/src/
H A Dpty.rs139 /// use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};
149 /// unlockpt(&master_fd)?;
225 /// [`unlockpt(3)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/unlockpt.html))
227 /// `unlockpt()` unlocks the slave pseudoterminal device corresponding to the master pseudoterminal
231 pub fn unlockpt(fd: &PtyMaster) -> Result<()> { in unlockpt() functions
232 if unsafe { libc::unlockpt(fd.as_raw_fd()) } < 0 { in unlockpt()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstdlib.h122 int unlockpt (int);
/third_party/musl/porting/liteos_m/user/include/
H A Dstdlib.h121 int unlockpt (int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstdlib.h124 int unlockpt (int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstdlib.h122 int unlockpt (int);
/third_party/musl/libc-test/src/api/
H A Dstdlib.c93 {int(*p)(int) = unlockpt;} in f()
/third_party/musl/porting/linux/user/include/
H A Dstdlib.h127 int unlockpt (int);
/third_party/musl/include/
H A Dstdlib.h128 int unlockpt (int);
/third_party/rust/crates/libc/src/unix/solarish/
H A Dcompat.rs70 if ::grantpt(fdm) < 0 || ::unlockpt(fdm) < 0 { in openpty()
/third_party/rust/crates/nix/test/
H A Dtest_pty.rs108 unlockpt(&master).expect("unlockpt failed"); in open_ptty_pair()
H A Dtest_unistd.rs13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};
1245 unlockpt(&fd).expect("unlockpt failed"); in test_ttyname()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs1402 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3858 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt() functions
/third_party/python/Modules/
H A Dposixmodule.c7424 if (unlockpt(master_fd) < 0) { in os_openpty_impl()

Completed in 41 milliseconds

12