macro_rules! ioctl_io_nr {
    ($name:ident, $ty:expr, $nr:expr) => { ... };
    ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => { ... };
}
Available on Linux or Android only.
Expand description

Declare an ioctl that transfers no data.

const KVMIO: c_uint = 0xAE;
ioctl_io_nr!(KVM_CREATE_VM, KVMIO, 0x01);