summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-08-07 15:48:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-08-07 15:48:17 (GMT)
commit3cfdc3402e2ede832ddcdac1d22491184b3d8765 (patch)
tree939ebd0d931c00cb9fa425d5f1724f4420535425 /Doc/lib/libos.tex
parente9f6614ea3b236851b536f6650cd6abe3f289dcb (diff)
downloadcpython-3cfdc3402e2ede832ddcdac1d22491184b3d8765.zip
cpython-3cfdc3402e2ede832ddcdac1d22491184b3d8765.tar.gz
cpython-3cfdc3402e2ede832ddcdac1d22491184b3d8765.tar.bz2
Documented os.fsync and os.fdatasync. Closes SF bug 584695.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index d5f9a34..fb53b17 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.