Skip to main content

ioc_nr

Function ioc_nr 

Source
fn ioc_nr(req: c_ulong) -> c_ulong
Expand description

Extract the _IOC_NR command byte (bits 0-7) of an ioctl request — the field that names the command. Used only by documentation and the ioc_nr_extracts_low_byte unit test, hence #[allow(dead_code)].