mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-12 17:41:07 +00:00
std::fflush does not guarantee that file buffers are flushed to the disk. Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.