
I think that's a reasonable request, but the reason that
it isn't in there already is that the Posix library implements
just POSIX 1003.1a (1990), not also 1003.1b (1993),
which is when the (so-called) real-time/POSIX.4 extensions
(incl O_SYNC) were introduced.
Rather than patching the Posix library to include stuff like
O_SYNC, I'd like to see a Haskell binding to the Single
UNIX (aka Unix98) instead - it subsumes the
POSIX.1 APIs (and you can get at the specs without having
to pay the extortionate rates that IEEE charges). Feel free
to contribute such a binding!
--sigbjorn
----- Original Message -----
From: "Max A . K ."
Hello.
What about include O_SYNC flag in the Posix.OpenFileFlag?
Max.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users