Searched refs:FcntlArg (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 403 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("write lock failed"); in test_ofd_write_lock() 410 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("write unlock failed"); in test_ofd_write_lock() 441 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("read lock failed"); in test_ofd_read_lock() 448 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("read unlock failed"); in test_ofd_read_lock()
|
H A D | test_unistd.rs | 749 use nix::fcntl::{fcntl, FcntlArg, FdFlag}; in test_pipe2() 752 let f0 = FdFlag::from_bits_truncate(fcntl(fd0, FcntlArg::F_GETFD).unwrap()); in test_pipe2() 754 let f1 = FdFlag::from_bits_truncate(fcntl(fd1, FcntlArg::F_GETFD).unwrap()); in test_pipe2()
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 414 pub enum FcntlArg<'a> { enum 446 pub enum FcntlArg { enum 454 pub use self::FcntlArg::*; 457 pub fn fcntl(fd: RawFd, arg: FcntlArg) -> Result<c_int> { in fcntl()
|
H A D | unistd.rs | 8 use crate::fcntl::{fcntl, FcntlArg::F_SETFD, FdFlag, OFlag};
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 924 use nix::fcntl::{fcntl, FcntlArg, OFlag}; in test_af_alg_aead() 1021 fcntl(session_socket, FcntlArg::F_SETFL(OFlag::O_NONBLOCK)) in test_af_alg_aead()
|
Completed in 10 milliseconds