[Mono-dev] Cross-platform fsync()

Alan McGovern alan.mcgovern at gmail.com
Tue Jan 9 20:52:52 EST 2007


(sorry, just realised last message didn't go to mailing list)
Hi,

Have you tried FileStream.Flush()? ;)

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070110/c055668d/attachment.html 


More information about the Mono-devel-list mailing list