Searched refs:FcntlCommand (Results 1 – 3 of 3) sorted by relevance
9 pub enum FcntlCommand { enum
25 fcntl::{AtFlags, FcntlCommand, FD_CLOEXEC},1133 pub fn fcntl(fd: i32, cmd: FcntlCommand, arg: i32) -> Result<usize, SystemError> { in fcntl() argument1136 FcntlCommand::DupFd | FcntlCommand::DupFdCloexec => { in fcntl()1145 if cmd == FcntlCommand::DupFd { in fcntl()1159 FcntlCommand::GetFd => { in fcntl()1176 FcntlCommand::SetFd => { in fcntl()1195 FcntlCommand::GetFlags => { in fcntl()1208 FcntlCommand::SetFlags => { in fcntl()
30 fcntl::{AtFlags, FcntlCommand},644 let cmd: Option<FcntlCommand> = in handle()645 <FcntlCommand as FromPrimitive>::from_u32(args[1] as u32); in handle()