>> But this is not generic enough. Any suggestions to fix this? > > According to my manpage, it's an nfds_t. Is that type as portable as > poll is? If we use nfds_t in C source code, it is portable. But I cannot find a Haskell type to express it in Foreign.C.Types. So, my question is how I can express nfds_t in Haskell? --Kazu