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