blob: d0765d0414253abaa3884d9bededebf5f784e63d [file] [log] [blame] [raw]
#include <windows.h>
int fsync(int fd) {
return FlushFileBuffers((void *)fd) ? 0 : -1;
}