[Haskell-cafe] Re: "Standard C" available in cabal package
Matthias Kilian
kili at outback.escape.de
Fri Jan 30 16:48:06 EST 2009
On Fri, Jan 30, 2009 at 09:40:02PM +0100, Achim Schneider wrote:
> > > POSIX?
> >
> > Is that portable for non-unix? I think cabal
> > does work on some non-unix systems.
> >
> Even windows provides POSIX, it's _the_ C standard. If you are going to
> find a common set of C functions, that'll be it. Don't expect windows
> to have a fifo or block file type, though.
Sorry, but the standard libraries defined by all the C standards
are just a small subset of POSIX. If you want to be portable beyond
POSIX compliant systems, you've to stick to something like C99.
More information about the Haskell-Cafe
mailing list