nix::sys::ioctl
pub fn ioc_nr(nr: u32) -> u32
Extracts the ioctl number from an encoded ioctl command.