Function base::sys::linux::ioctl::ioctl_with_ptr

source ·
pub unsafe fn ioctl_with_ptr<T>(
    descriptor: &dyn AsRawDescriptor,
    nr: IoctlNr,
    arg: *const T
) -> c_int
Expand description

Run an ioctl with a raw pointer.

§Safety

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