Documentation ¶
Index ¶
- Constants
- func IO(t, nr uintptr) uintptr
- func IOC(dir, t, nr, size uintptr) uintptr
- func IOCTL(fd, op, arg uintptr) error
- func IOR(t, nr, size uintptr) uintptr
- func IOR_BAD(t, nr, size uintptr) uintptr
- func IOW(t, nr, size uintptr) uintptr
- func IOWR(t, nr, size uintptr) uintptr
- func IOWR_BAD(t, nr, size uintptr) uintptr
- func IOW_BAD(t, nr, size uintptr) uintptr
Constants ¶
View Source
const ( IOC_NRBITS = 8 IOC_TYPEBITS = 8 IOC_SIZEBITS = 14 IOC_DIRBITS = 2 IOC_NRMASK = (1 << IOC_NRBITS) - 1 IOC_TYPEMASK = (1 << IOC_TYPEBITS) - 1 IOC_SIZEMASK = (1 << IOC_SIZEBITS) - 1 IOC_DIRMASK = (1 << IOC_DIRBITS) - 1 IOC_NRSHIFT = 0 IOC_TYPESHIFT = IOC_NRSHIFT + IOC_NRBITS IOC_SIZESHIFT = IOC_TYPESHIFT + IOC_TYPEBITS IOC_DIRSHIFT = IOC_SIZESHIFT + IOC_SIZEBITS // Direction bits IOC_NONE = 0 IOC_WRITE = 1 IOC_READ = 2 )
View Source
const ( IOC_IN = IOC_WRITE << IOC_DIRSHIFT IOC_OUT = IOC_READ << IOC_DIRSHIFT IOC_INOUT = (IOC_WRITE | IOC_READ) << IOC_DIRSHIFT IOCSIZE_MASK = IOC_SIZEMASK << IOC_SIZESHIFT IOCSIZE_SHIFT = IOC_SIZESHIFT )
...and for the drivers/sound files...
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.