Searched refs:EBADF (Results 1 – 7 of 7) sorted by relevance
210 return Err(SystemError::EBADF); in read()228 return Err(SystemError::EBADF); in write()246 return Err(SystemError::EBADF); in lseek()313 return Err(SystemError::EBADF); in getdents()319 return Err(SystemError::EBADF); in getdents()384 let file_cp: Box<File> = file.try_clone().ok_or(SystemError::EBADF)?; in dup()391 return Err(SystemError::EBADF); in dup()393 return Err(SystemError::EBADF); in dup()434 return Err(SystemError::EBADF); in dup2()443 return Err(SystemError::EBADF); in dup2()[all …]
82 .ok_or(SystemError::EBADF)?; in setsockopt()108 .ok_or(SystemError::EBADF)?; in getsockopt()171 .ok_or(SystemError::EBADF)?; in connect()189 .ok_or(SystemError::EBADF)?; in bind()219 .ok_or(SystemError::EBADF)?; in sendto()242 .ok_or(SystemError::EBADF)?; in recvfrom()273 .ok_or(SystemError::EBADF)?; in recvmsg()302 .ok_or(SystemError::EBADF)?; in listen()317 .ok_or(SystemError::EBADF)?; in shutdown()333 .ok_or(SystemError::EBADF)?; in accept()[all …]
214 return Err(SystemError::EBADF); in alloc_fd()263 return Err(SystemError::EBADF); in drop_fd()270 return Err(SystemError::EBADF); in drop_fd()
20 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
26 #define EBADF 9 /* 错误的文件描述符 Bad file descriptor. */ macro
26 #define EBADF 8 /* 错误的文件描述符 Bad file descriptor.*/
50 EBADF = 9, enumerator