enum IOCTL::IOC

Overview

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

Defined in:

asm-generic/ioctl.cr

Enum Members

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 Method Summary

Instance Method Detail

def none? #

[View source]
def read? #

[View source]
def write? #

[View source]