//! `ioctl` opcode behavior for BSD platforms.
use ;
pub const
// `IOC_VOID`
pub const NONE: Opcode = 0x2000_0000;
// `IOC_OUT` (“out” is from the perspective of the kernel)
pub const READ: Opcode = 0x4000_0000;
// `IOC_IN` (“in” is from the perspective of the kernel)
pub const WRITE: Opcode = 0x8000_0000;
pub const IOCPARAM_MASK: Opcode = 0x1FFF;