Macro nix::ioctl [−][src]
macro_rules! ioctl { ($(#[$attr:meta])* bad none $name:ident with $nr:expr) => { ... }; ($(#[$attr:meta])* bad read $name:ident with $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* bad write_ptr $name:ident with $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* bad write_int $name:ident with $nr:expr) => { ... }; ($(#[$attr:meta])* bad readwrite $name:ident with $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* none $name:ident with $ioty:expr, $nr:expr) => { ... }; ($(#[$attr:meta])* read $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* write_ptr $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* write_int $name:ident with $ioty:expr, $nr:expr) => { ... }; ($(#[$attr:meta])* readwrite $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* read_buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* write_buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; ($(#[$attr:meta])* readwrite_buf $name:ident with $ioty:expr, $nr:expr; $ty:ty) => { ... }; }
Generates ioctl functions. See ::sys::ioctl.