Function ioctl_with_ref

Source
pub unsafe fn ioctl_with_ref<F: AsRawFd, T>(
    fd: &F,
    nr: c_ulong,
    arg: &T,
) -> c_int
Expand description

Run an ioctl with an immutable reference.