(
fd: BorrowedFd<'_>,
request: Opcode,
arg: *mut c::c_void,
)
| 283 | |
| 284 | #[inline] |
| 285 | pub(crate) unsafe fn ioctl( |
| 286 | fd: BorrowedFd<'_>, |
| 287 | request: Opcode, |
| 288 | arg: *mut c::c_void, |
| 289 | ) -> io::Result<IoctlOutput> { |
| 290 | ret_c_int(syscall!(__NR_ioctl, fd, c_uint(request), arg)) |
| 291 | } |
| 292 | |
| 293 | #[inline] |
| 294 | pub(crate) unsafe fn ioctl_readonly( |
no test coverage detected