Function base::sys::unix::ioctl::ioctl_with_ref

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

Run an ioctl with an immutable reference.

Safety

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