On 01/10/07 Robert Jordan wrote:
Patrick Earl wrote:
Greetings all. I've recently run into the need for a cross platform
fsync() call. As far as I know, all of the flavors of unix that mono
supports provide the fsync call themselves. On windows, there is a
_commit() function that does
Alan McGovern wrote:
Have you tried FileStream.Flush()? ;)
Flush() intentionally doesn't call fsync nor FlushFileBuffers.
Well, the original reason cited for a cross platform fsync() call was to
perform a flush to disk operation on a filestream. I believe that's
*exactly* what
Alan McGovern wrote:
(sorry, just realised last message didn't go to mailing list)
Hi,
Have you tried FileStream.Flush()? ;)
Flush() intentionally doesn't call fsync nor FlushFileBuffers.
Robert
Alan.
On 1/9/07, Patrick Earl [EMAIL PROTECTED] wrote:
Greetings all. I've recently
If I wanted to add this functionality to the mono class library so no
p/invokes are required, does anyone have any suggestions where it
should be added? I've seen most new functionality added to Mono.*
classes, but I don't see anything like Mono.IO. Are there any
guidelines on where something
Have you tried FileStream.Flush()? ;)
Flush() intentionally doesn't call fsync nor FlushFileBuffers.
Well, the original reason cited for a cross platform fsync() call was to
perform a flush to disk operation on a filestream. I believe that's
*exactly* what FileStream.Flush() is for. So
Greetings all. I've recently run into the need for a cross platform
fsync() call. As far as I know, all of the flavors of unix that mono
supports provide the fsync call themselves. On windows, there is a
_commit() function that does the same thing. It seems like the
underlying platform support
Patrick Earl wrote:
Greetings all. I've recently run into the need for a cross platform
fsync() call. As far as I know, all of the flavors of unix that mono
supports provide the fsync call themselves. On windows, there is a
_commit() function that does the same thing. It seems like the
(sorry, just realised last message didn't go to mailing list)
Hi,
Have you tried FileStream.Flush()? ;)
Alan.
On 1/9/07, Patrick Earl [EMAIL PROTECTED] wrote:
Greetings all. I've recently run into the need for a cross platform
fsync() call. As far as I know, all of the flavors of unix that