enum

IOCTL::IOC

Inherits Enum / Comparable / Value / Object

Direction bits, which any architecture can choose to override before including this file.

Constants

NONE = 0_u32
WRITE = 1_u32

_IOC::WRITE means userland is writing and kernel is reading.

READ = 2_u32

IOC::READ means userland is reading and kernel is writing.

Instance methods

none?

Returns true if this enum value equals NONE

Source
read?

Returns true if this enum value equals READ

Source
write?

Returns true if this enum value equals WRITE

Source