Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cfdc34

Browse files
committed
Documented os.fsync and os.fdatasync. Closes SF bug 584695.
1 parent e9f6614 commit 3cfdc34

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Doc/lib/libos.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,12 @@ \subsection{File Descriptor Operations \label{os-fd-ops}}
399399
Availability: \UNIX, Windows.
400400
\end{funcdesc}
401401

402+
\begin{funcdesc}{fdatasync}{fd}
403+
Force write of file with filedescriptor \var{fd} to disk.
404+
Does not force update of metadata.
405+
Availability: \UNIX.
406+
\end{funcdesc}
407+
402408
\begin{funcdesc}{fpathconf}{fd, name}
403409
Return system configuration information relevant to an open file.
404410
\var{name} specifies the configuration value to retrieve; it may be a
@@ -429,6 +435,11 @@ \subsection{File Descriptor Operations \label{os-fd-ops}}
429435
Availability: \UNIX.
430436
\end{funcdesc}
431437

438+
\begin{funcdesc}{fsync}{fd}
439+
Force write of file with filedescriptor \var{fd} to disk.
440+
Availability: \UNIX.
441+
\end{funcdesc}
442+
432443
\begin{funcdesc}{ftruncate}{fd, length}
433444
Truncate the file corresponding to file descriptor \var{fd},
434445
so that it is at most \var{length} bytes in size.

0 commit comments

Comments
 (0)