pub unsafe fn ioctl_with_mut_ref<T>(
    descriptor: &dyn AsRawDescriptor,
    nr: IoctlNr,
    arg: &mut T
) -> c_int
Expand description

Run an ioctl with a mutable reference.

§Safety

The caller is responsible for determining the safety of the particular ioctl.