pub fn ioc_dir(nr: u32) -> u8
Expand description

Extracts the “direction” (read/write/none) from an encoded ioctl command.