Home
last modified time | relevance | path

Searched refs:is_read_write (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/src/io/
Dis_read_write.rs18 pub fn is_read_write<Fd: AsFd>(fd: Fd) -> io::Result<(bool, bool)> { in is_read_write() function
19 backend::io::syscalls::is_read_write(fd.as_fd()) in is_read_write()
Dmod.rs17 mod is_read_write; module
53 pub use is_read_write::is_read_write;
/third_party/rust/crates/rustix/tests/io/
Dioctl.rs9 assert_eq!(rustix::io::is_read_write(&file).unwrap(), (true, false)); in test_ioctls()
/third_party/rust/crates/rustix/tests/fs/
Dfile.rs95 assert_eq!(rustix::io::is_read_write(&file).unwrap(), (true, false)); in test_file()
/third_party/rust/crates/rustix/src/backend/libc/io/
Dsyscalls.rs348 pub(crate) fn is_read_write(fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function
395 pub(crate) fn is_read_write(_fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dsyscalls.rs356 pub(crate) fn is_read_write(fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function