cautious-file-0.1.3: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures
System.Posix.Fsync
fsync :: Fd -> IO ()Source