[Haskell-cafe] Exclusive mode in openFile

Max Bolingbroke batterseapower at hotmail.com
Tue Jun 28 22:05:49 CEST 2011

On 28 June 2011 18:56, Gracjan Polak <gracjanpolak at gmail.com> wrote:
> Anyway, where do I find an 'openFileShared' function? Packages unix/Win32 do not
> have obvious leads...

Perhaps the functions in System.Posix.IO do what you want?
The equivalent on the Win32 side is CreateFile:

There is a way to create a Handle from a Fd
but I'm not sure if there is an equivalent to build a Handle from a
Win32 HANDLE...

Hope those pointers help...


More information about the Haskell-Cafe mailing list