Home
last modified time | relevance | path

Searched refs:posix_openpt (Results 1 - 18 of 18) sorted by relevance

/third_party/rust/crates/nix/test/
H A Dtest_pty.rs19 let m = posix_openpt(OFlag::O_RDWR).unwrap(); in test_explicit_close()
35 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_equivalence()
52 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_copy()
69 let master_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_r_copy()
86 let master1_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_unique()
90 let master2_fd = posix_openpt(OFlag::O_RDWR).unwrap(); in test_ptsname_unique()
104 let master = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in open_ptty_pair()
H A Dtest_ptymaster_drop.rs16 let m = posix_openpt(OFlag::O_RDWR).unwrap(); in test_double_close()
H A Dtest_unistd.rs13 use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};
1238 let fd = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in test_ttyname()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dpty.c111 int ret = posix_openpt(O_RDWR); in posix_openpt_0100()
124 int ret = posix_openpt(O_RDWR | O_NOCTTY); in posix_openpt_0200()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dpty.c9 int posix_openpt(int flags) in posix_openpt() function
/third_party/musl/src/misc/
H A Dpty.c9 int posix_openpt(int flags) in posix_openpt() function
/third_party/rust/crates/nix/src/
H A Dpty.rs127 /// [`posix_openpt(3)`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_openpt.html))
129 /// `posix_openpt()` returns a file descriptor to an existing unused pseudoterminal master device.
139 /// use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt};
145 /// let master_fd = posix_openpt(OFlag::O_RDWR)?;
160 pub fn posix_openpt(flags: fcntl::OFlag) -> Result<PtyMaster> { in posix_openpt() functions
161 let fd = unsafe { libc::posix_openpt(flags.bits()) }; in posix_openpt()
177 /// `posix_openpt()`.
205 /// `posix_openpt()`.
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstdlib.h120 int posix_openpt (int);
/third_party/musl/porting/liteos_m/user/include/
H A Dstdlib.h119 int posix_openpt (int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstdlib.h122 int posix_openpt (int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstdlib.h120 int posix_openpt (int);
/third_party/musl/libc-test/src/api/
H A Dstdlib.c101 {int(*p)(int) = posix_openpt;} in g()
/third_party/musl/porting/linux/user/include/
H A Dstdlib.h125 int posix_openpt (int);
/third_party/musl/include/
H A Dstdlib.h126 int posix_openpt (int);
/third_party/rust/crates/libc/src/unix/solarish/
H A Dcompat.rs64 let fdm = ::posix_openpt(O_RDWR | O_NOCTTY); in openpty()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs1400 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3856 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt() functions
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp6761 extern int posix_openpt (int __oflag) ;
[all...]

Completed in 43 milliseconds