Safe Haskell | None |
---|
Various types.
Documentation
A Storable
instance for struct timeval
(see select(2)
). The
first argument corresponds to tv_sec
, the second to tv_usec
.
finite :: CLong -> CLong -> TimeoutSource
tells finite
s usselect
to time out after s
seconds and
us
microseconds.
Abstraction for the return value of select
.
means
that Error
select
returned an error, while Timeout
means it
timed out.
specifies that it returned
because the file descriptors in Ready
n rfds wfds efdsrfds
, wfds
and efds
are ready
in their respective ways (see select(2)
), with n
descriptors in
total.
readyWrite :: Result -> FdSetSource
The file descriptors ready for writing.
readyException :: Result -> FdSetSource
The file descriptors having exceptional conditions.