ioctl-0.0.1: Type-safe I/O control package
System.Posix.IOCtl
Description
The module wrapps the ioctl system call.
Synopsis
class Storable d => IOControl req d | req -> d whereSource
Combines the request with data.
Methods
ioctlReqSource
Arguments
The request. Should be lazy in argument.
The request code.
Converts request to integer
ioctlSource
The file descriptor
The request
The data
The data after the call
Calls a ioctl reading the structure after the call
ioctl_Source
Call a ioctl ignoring the result
ioctl'Source
Call a ioctl with uninitialized data