I think you're asking whether POSIX types should
be given a type/synonym on the Haskell side. The
Posix library does define some of them, but not
all - e.g., size_t isn't.
I'm sure patches which extended that library so as
to have these would be welcomed by the GHC developers.
--sigbjorn
Georg
For historical reasons (I suppose), the text in the Users Guide
section 5.4 on calling foreign functions from C seems to assume that
you only need C integers (represented by Int). This means it's not clear
what to do if, for example, you need size_t. At the moment I suppose most
people are still