]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Documented os.fsync and os.fdatasync. Closes SF bug 584695.
authorRaymond Hettinger <python@rcn.com>
Wed, 7 Aug 2002 15:49:45 +0000 (15:49 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 7 Aug 2002 15:49:45 +0000 (15:49 +0000)
Doc/lib/libos.tex

index 27d16993a79e26ecbe230a6cbcfb473a7ff5aaef..a82f04058c93b1cd281126c215fda86de1be329a 100644 (file)
@@ -390,6 +390,12 @@ first if necessary.
 Availability: \UNIX, Windows.
 \end{funcdesc}
 
+\begin{funcdesc}{fdatasync}{fd}
+Force write of file with filedescriptor \var{fd} to disk.
+Does not force update of metadata.
+Availability: \UNIX.
+\end{funcdesc}
+
 \begin{funcdesc}{fpathconf}{fd, name}
 Return system configuration information relevant to an open file.
 \var{name} specifies the configuration value to retrieve; it may be a
@@ -420,6 +426,11 @@ with file descriptor \var{fd}, like \function{statvfs()}.
 Availability: \UNIX.
 \end{funcdesc}
 
+\begin{funcdesc}{fsync}{fd}
+Force write of file with filedescriptor \var{fd} to disk.
+Availability: \UNIX.
+\end{funcdesc}
+
 \begin{funcdesc}{ftruncate}{fd, length}
 Truncate the file corresponding to file descriptor \var{fd}, 
 so that it is at most \var{length} bytes in size.