[Mono-dev] Cross-platform fsync()
Robert Jordan
robertj at gmx.net
Wed Jan 10 04:43:18 EST 2007
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 <mono at patearl.net> 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
>> underlying platform support is there, but I'm not sure how to bring
>> that back up into the .net world so we can, for example, perform some
>> sort of flush to disk operation on a FileStream. Suggestions? Ideas?
>>
>> Patrick
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list