Posix.sync

Max A . K . max630@mail.ru
Tue, 20 Nov 2001 02:20:45 +0600


On Mon, Nov 19, 2001 at 10:14:02AM -0800, Sigbjorn Finne wrote:
> 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.

I see. 

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

I'm afraid I will not. There is pretty huge number of
functions to bind, and I'm afraid to miss some. Then I'm not
wery good Haskeller.

Moreover, I could not see the Single Unix features in the
linux-2.2 (at least that nice O_DSYNC flag). Maybe they are
presented in 2.4, but I have no plan to use it.

Well, what is a position of the GHC maintainers about that?

Max.