Crate ioctl_sys [−] [src]
Macros
io! |
Encode an ioctl command that has no associated data. |
ioc! |
Encode an ioctl command. |
ioctl! |
Declare a wrapper function around an ioctl. |
ior! |
Encode an ioctl command that reads. |
iorw! |
Encode an ioctl command that both reads and writes. |
iow! |
Encode an ioctl command that writes. |
Structs
Functions
blkalignoff | |
blkbszget | |
blkbszset | |
blkdiscard | |
blkdiscardzeros | |
blkflsbuf | |
blkfraget | |
blkfraset | |
blkgetsize | |
blkgetsize64 | |
blkiomin | |
blkioopt | |
blkpbszget | |
blkraget | |
blkraset | |
blkroget | |
blkroset | |
blkrotational | |
blkrrpart | |
blksecdiscard | |
blksectget | |
blksszget | |
blktracestart | |
blktracestop | |
blktraceteardown | |
blkzeroout | |
eviocgabs | |
eviocgbit | |
eviocgkey | |
eviocgled | |
eviocgmtslots | |
eviocgname | |
eviocgphys | |
eviocgprop | |
eviocgrab | |
eviocgsnd | |
eviocgsw | |
eviocguniq | |
eviocrevoke | |
eviocsclockid | |
eviocsff | |
ioc_dir |
Extracts the "direction" (read/write/none) from an encoded ioctl command. |
ioc_nr |
Extracts the ioctl number from an encoded ioctl command. |
ioc_size |
Extracts the size from an encoded ioctl command. |
ioc_type |
Extracts the type from an encoded ioctl command. |