diff --git a/System/Posix/Unistd.hsc b/System/Posix/Unistd.hsc index 2cbfaa278c6ae152939eedd2142c7107ad6808e7..3b8d2e43d6e6ea589388d6e3d1f33ca0c0694e28 100644 --- a/System/Posix/Unistd.hsc +++ b/System/Posix/Unistd.hsc @@ -228,6 +228,8 @@ foreign import ccall unsafe "sysconf" -- Throws 'IOError' (\"unsupported operation\") if platform does not -- provide @fsync(2)@ (use @#if HAVE_FSYNC@ CPP guard to -- detect availability). +-- +-- /Since: 2.7.1.0/ fileSynchronise :: Fd -> IO () #if HAVE_FSYNC fileSynchronise fd = do @@ -247,6 +249,8 @@ fileSynchronise _ = ioError (ioeSetLocation unsupportedOperation -- Throws 'IOError' (\"unsupported operation\") if platform does not -- provide @fdatasync(2)@ (use @#if HAVE_FDATASYNC@ CPP guard to -- detect availability). +-- +-- /Since: 2.7.1.0/ fileSynchroniseDataOnly :: Fd -> IO () #if HAVE_FDATASYNC fileSynchroniseDataOnly fd = do