[Mono-dev] Cross-platform fsync()
alan.mcgovern at gmail.com
Wed Jan 10 18:09:19 EST 2007
> > 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 unless there's a different
reason that he needs fsync(), what's wrong with calling FileStream.Flush()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list