iow

Function iow 

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

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

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

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