#include #include -- | module Bindings.Posix.Sys.Select where import Foreign import Foreign.C import Bindings.Posix.Sys.Types import Bindings.Posix.Time import Bindings.Posix.Signal #starttype struct timeval #field tv_sec , CTime #field tv_usec , #stoptype #starttype fd_set #stoptype #num FD_SETSIZE #cinline FD_CLR , CInt -> Ptr -> IO () #cinline FD_ISSET , CInt -> Ptr -> IO CInt #cinline FD_SET , CInt -> Ptr -> IO () #cinline FD_ZERO , Ptr -> IO () #ccall pselect , CInt -> Ptr -> Ptr -> \ Ptr -> Ptr -> Ptr -> IO CInt #ccall select , CInt -> Ptr -> Ptr -> \ Ptr -> Ptr -> IO CInt