Searched refs:is_read_write (Results 1 – 6 of 6) sorted by relevance
18 pub fn is_read_write<Fd: AsFd>(fd: Fd) -> io::Result<(bool, bool)> { in is_read_write() function19 backend::io::syscalls::is_read_write(fd.as_fd()) in is_read_write()
17 mod is_read_write; module53 pub use is_read_write::is_read_write;
9 assert_eq!(rustix::io::is_read_write(&file).unwrap(), (true, false)); in test_ioctls()
95 assert_eq!(rustix::io::is_read_write(&file).unwrap(), (true, false)); in test_file()
348 pub(crate) fn is_read_write(fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function395 pub(crate) fn is_read_write(_fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function
356 pub(crate) fn is_read_write(fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write() function