Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Represents a file descriptor, which events to poll for, and which events occurred.
- newtype PollFD = PollFD (ForeignPtr PollFD)
- noPollFD :: Maybe PollFD
- pollFDReadEvents :: PollFD -> IO Word16
- pollFDReadFd :: PollFD -> IO Int32
- pollFDReadRevents :: PollFD -> IO Word16