Function ioctl

Source
pub unsafe fn ioctl<F: AsRawDescriptor>(descriptor: &F, nr: IoctlNr) -> c_int
Expand description

Run an ioctl with no arguments.

ยงSafety

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