pub const IOC_READ: IoctlId = 2;Expand description
Direction bit specifying data is read.
This is 2 on all platforms (except PA-RISC, which is not supported by Rust).
References:
- Alpha:
arch/alpha/include/uapi/asm/ioctl.h - MIPS:
arch/mips/include/uapi/asm/ioctl.h - PowerPC:
arch/powerpc/include/uapi/asm/ioctl.h - Sparc:
arch/sparc/include/uapi/asm/ioctl.h - All others:
include/uapi/asm-generic/ioctl.h