Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- uninterruptiblePoll :: Ptr PollFd -> CNfds -> IO (Either Errno CInt)
- uninterruptiblePollMutablePrimArray :: MutablePrimArray RealWorld PollFd -> CNfds -> IO (Either Errno CInt)
- data PollFd = PollFd {}
- data Exchange
- input :: Event e
- output :: Event e
- error :: Event Response
- hangup :: Event Response
- invalid :: Event Response
- isSubeventOf :: Event e -> Event e -> Bool
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.
uninterruptiblePollMutablePrimArray :: MutablePrimArray RealWorld PollFd -> CNfds -> IO (Either Errno CInt) Source #
Instances
Storable PollFd Source # | |
Prim PollFd Source # | |
Defined in Posix.Poll.Types alignment# :: PollFd -> Int# # indexByteArray# :: ByteArray# -> Int# -> PollFd # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (#State# s, PollFd#) # writeByteArray# :: MutableByteArray# s -> Int# -> PollFd -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> PollFd -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> PollFd # readOffAddr# :: Addr# -> Int# -> State# s -> (#State# s, PollFd#) # writeOffAddr# :: Addr# -> Int# -> PollFd -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> PollFd -> State# s -> State# s # |
isSubeventOf :: Event e -> Event e -> Bool Source #
Is the first argument a subset of the second argument?