Function ioctl_with_mut_ptr

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

Run an ioctl with a mutable raw pointer.

ยงSafety

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