Commit 67331db4 authored by Raymond Hettinger's avatar Raymond Hettinger

Documented os.fsync and os.fdatasync. Closes SF bug 584695.

parent a3f47e39
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment