ioctl_gen
macro_rules! ioc_dir { ($n:expr) => { ... }; }
Decodes the access mode / direction from an ioctl number.