poll-0.0.0.1: Bindings to poll.h

Safe HaskellSafe
LanguageHaskell98

System.Posix.Poll

Documentation

data Fd #

Constructors

Fd 

Fields

Instances
Storable Fd # 
Instance details

Defined in System.Posix.Poll

Methods

sizeOf :: Fd -> Int #

alignment :: Fd -> Int #

peekElemOff :: Ptr Fd -> Int -> IO Fd #

pokeElemOff :: Ptr Fd -> Int -> Fd -> IO () #

peekByteOff :: Ptr b -> Int -> IO Fd #

pokeByteOff :: Ptr b -> Int -> Fd -> IO () #

peek :: Ptr Fd -> IO Fd #

poke :: Ptr Fd -> Fd -> IO () #

data Event #

Constructors

Other Int 
In 
Pri 
Out 
Err 
Hup 
NVal 
Instances
Enum Event #

The Enum instance may not be very efficient, but it should hardly be used, at all. Better use constants such as inp and set manipulation. If the binary logarithm is computed by constant unfolding, performance would be better, but direct set manipulation is still faster. We implement the Enum instance in this way, in order to stay independent from the particular Poll definitions, that may differ between platforms.

Instance details

Defined in System.Posix.Poll

Eq Event # 
Instance details

Defined in System.Posix.Poll

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Ord Event # 
Instance details

Defined in System.Posix.Poll

Methods

compare :: Event -> Event -> Ordering #

(<) :: Event -> Event -> Bool #

(<=) :: Event -> Event -> Bool #

(>) :: Event -> Event -> Bool #

(>=) :: Event -> Event -> Bool #

max :: Event -> Event -> Event #

min :: Event -> Event -> Event #

Show Event # 
Instance details

Defined in System.Posix.Poll

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Ix Event # 
Instance details

Defined in System.Posix.Poll