pub unsafe fn ioctl_with_ref<T>(
    descriptor: &dyn AsRawDescriptor,
    nr: IoctlNr,
    arg: &T,
) -> c_intExpand description
Run an ioctl with an immutable reference.
§Safety
The caller is responsible for determining the safety of the particular ioctl.