posix-api-0.3.2.0: posix bindings

Safe HaskellNone
LanguageHaskell2010

Posix.Poll

Synopsis

Documentation

uninterruptiblePoll :: Ptr PollFd -> CNfds -> IO (Either Errno CInt) Source #

The timeout argument is omitted since it is nonsense to choose anything other than 0 when using the unsafe FFI.

data PollFd Source #

Constructors

PollFd 

Fields

data Exchange Source #

Constructors

Request 
Response 

input :: Event e Source #

The POLLIN event.

output :: Event e Source #

The POLLOUT event.

error :: Event Response Source #

The POLLERR event.

hangup :: Event Response Source #

The POLLHUP event.

invalid :: Event Response Source #

The POLLNVAL event.

isSubeventOf :: Event e -> Event e -> Bool Source #

Is the first argument a subset of the second argument?