Skip to main content

IOC_SIZESHIFT

Constant IOC_SIZESHIFT 

Source
const IOC_SIZESHIFT: u32 = 16;
Expand description

Locates the _IOC_SIZE field so it can be cleared for size-agnostic request matching: the 14-bit encoded parameter size lives at bit 16 of an ioctl request (asm-generic/ioctl.h). Paired with IOC_SIZEMASK by ioc_no_size.