ior

Function ior 

Source
pub const fn ior<T>(type: IoctlId, nr: IoctlId) -> IoctlId
Expand description

Create an ioctl(2) identifier for a call that reads data.

This is the equivalent of the _IOR() macro from the C headers. The type must be passed as a generic parameter to this function.

Reference: include/uapi/asm-generic/ioctl.h