>> For Win32, in order to emulate fsync() we will need to call
>> FlushFileBuffers():
The supplied link does not work.  FlushFileBuffers() is for flushing
files opened with CreateFile() etc.

For files opened with fopen(), call fflush().

For files opened with _open(), call _commit().

Likekly the win32 port code, which I have yet to inspect, will use the
second version.  

Merlin



Mon, 3 Feb 2003 17:48:14 -0500
"Merlin Moncure" <merlin.moncure@rcsonline.com>
Re: Win32 and fsync()