From: Raymond Hettinger Date: Wed, 7 Aug 2002 15:48:17 +0000 (+0000) Subject: Documented os.fsync and os.fdatasync. Closes SF bug 584695. X-Git-Tag: v2.3c1~4638 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cfdc3402e2ede832ddcdac1d22491184b3d8765;p=python Documented os.fsync and os.fdatasync. Closes SF bug 584695. --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index d5f9a34ae0..fb53b17d68 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -399,6 +399,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 @@ -429,6 +435,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.