Function ioctl_with_val

Source
pub unsafe fn ioctl_with_val(
    descriptor: &dyn AsRawDescriptor,
    nr: IoctlNr,
    arg: c_ulong,
) -> c_int
Expand description

Run an ioctl with a single value argument.

ยงSafety

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