For Win32, in order to emulate fsync() we will need to callFlushFileBuffers():http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/flushfilebuffers.asp