Function base::sys::unix::ioctl::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.