[][src]Module sys_util::ioctl

Macros and wrapper functions for dealing with ioctls.

Constants

IOCSIZE_MASK
IOCSIZE_SHIFT
IOC_IN
IOC_INOUT
IOC_OUT
_IOC_DIRBITS
_IOC_DIRMASK
_IOC_DIRSHIFT
_IOC_NONE
_IOC_NRBITS
_IOC_NRMASK
_IOC_NRSHIFT
_IOC_READ
_IOC_SIZEBITS
_IOC_SIZEMASK
_IOC_SIZESHIFT
_IOC_TYPEBITS
_IOC_TYPEMASK
_IOC_TYPESHIFT
_IOC_WRITE

Functions

ioctl

Run an ioctl with no arguments.

ioctl_with_mut_ptr

Run an ioctl with a mutable raw pointer.

ioctl_with_mut_ref

Run an ioctl with a mutable reference.

ioctl_with_ptr

Run an ioctl with a raw pointer.

ioctl_with_ref

Run an ioctl with an immutable reference.

ioctl_with_val

Run an ioctl with a single value argument.