FFI to poll()

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Sat Feb 23 03:59:35 CET 2013


>> 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



More information about the ghc-devs mailing list