From: Raymond Hettinger Date: Wed, 7 Aug 2002 15:49:45 +0000 (+0000) Subject: Documented os.fsync and os.fdatasync. Closes SF bug 584695. X-Git-Tag: v2.2.2b1~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=564e28f89b4dd485d13af62a2308a9bd94f32cd8;p=thirdparty%2FPython%2Fcpython.git Documented os.fsync and os.fdatasync. Closes SF bug 584695. --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 27d16993a79e..a82f04058c93 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -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.