nix::ioctl! [] [src]

macro_rules! ioctl {
    (bad $name:ident with $nr:expr) => { ... };
    (none $name:ident with $ioty:expr, $nr:expr) => { ... };
    (read $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
    (write $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
    (readwrite $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
    (read buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
    (write buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
    (readwrite buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... };
}

Declare a wrapper function around an ioctl.