poll-0.0: Bindings to poll.h

System.Posix.Poll

Documentation

data Fd Source

Constructors

Fd 

Fields

fd :: Fd
 
events :: Events
 
rEvents :: Events
 

Instances

data Event Source

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.

Eq Event 
Ord Event 
Show Event 
Ix Event