no fdatasync on macos
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index b679275..fc6f654 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -528,6 +528,9 @@
    Force write of file with filedescriptor *fd* to disk. Does not force update of
    metadata. Availability: Unix.
 
+   .. note::
+      This function is not available on MacOS.
+
 
 .. function:: fpathconf(fd, name)