pub const IOC_WRITE: IoctlId = 1;Expand description
Direction bit specifying data is written.
For Alpha (not supported by Rust), MIPS, PowerPC, and SPARC, this is 4. For PA-RISC (not supported by Rust), this is 2. For all other architectures, this is 1.
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