module IOCTL
Extended Modules
Defined in:
ioctl.crConstant Summary
-
DIRBITS =
2
-
DIRMASK =
((1 << DIRBITS) - 1)
-
DIRSHIFT =
(SIZESHIFT + SIZEBITS)
-
NRBITS =
8
-
NRMASK =
((1 << NRBITS) - 1)
-
NRSHIFT =
0
-
SIZEBITS =
14
-
SIZEMASK =
((1 << SIZEBITS) - 1)
-
SIZESHIFT =
(TYPESHIFT + TYPEBITS)
-
TYPEBITS =
8
-
TYPEMASK =
((1 << TYPEBITS) - 1)
-
TYPESHIFT =
(NRSHIFT + NRBITS)
Instance Method Summary
- #_DIR(nr)
- #_IO(*args)
- #_IOC(dir : Dir, type : Int | Char, nr : Int, size : Int) : UInt32
- #_IOR(*args)
- #_IOW(*args)
- #_IOWR(*args)
- #_NR(nr)
- #_SIZE(nr)
- #_TYPE(nr)
- #ioctl(fd, request, *args)