diff options
author | Marc Sugiyama <[email protected]> | 2014-11-18 08:20:59 -0800 |
---|---|---|
committer | Marc Sugiyama <[email protected]> | 2014-11-18 08:20:59 -0800 |
commit | c0c0252793b1c1bf4fb8814d6801610186906013 (patch) | |
tree | 2c3ba092c9ab347994cc397d275409f3b449158c /lib/kernel/doc/src/file.xml | |
parent | 30e5a5b28f3f4c5ba69d536aec30d1fae4e1f2fb (diff) | |
download | otp-c0c0252793b1c1bf4fb8814d6801610186906013.tar.gz otp-c0c0252793b1c1bf4fb8814d6801610186906013.tar.bz2 otp-c0c0252793b1c1bf4fb8814d6801610186906013.zip |
Update file.xml
Fix grammatical errors in section on file:datasync/1
Diffstat (limited to 'lib/kernel/doc/src/file.xml')
-rw-r--r-- | lib/kernel/doc/src/file.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml index 1c03efe7fd..6976457897 100644 --- a/lib/kernel/doc/src/file.xml +++ b/lib/kernel/doc/src/file.xml @@ -1689,9 +1689,9 @@ <desc> <p>Makes sure that any buffers kept by the operating system (not by the Erlang runtime system) are written to disk. In - many ways it's resembles fsync but it not requires to update - some of file's metadata such as the access time. On - some platforms, this function might have no effect.</p> + many ways it resembles fsync but it does not update + some of the file's metadata such as the access time. On + some platforms this function has no effect.</p> <p>Applications that access databases or log files often write a tiny data fragment (e.g., one line in a log file) and then call fsync() immediately in order to ensure that the written @@ -1699,11 +1699,11 @@ will always initiate two write operations: one for the newly written data and another one in order to update the modification time stored in the inode. If the modification time is not a part - of the transaction concept fdatasync() can be used to avoid + of the transaction concept, fdatasync() can be used to avoid unnecessary inode disk write operations.</p> - <p>Available only in some POSIX systems. This call results in a - call to fsync(), or has no effect, in systems not implementing - the fdatasync syscall.</p> + <p>Available only in some POSIX systems, this call results in a + call to fsync(), or has no effect in systems not implementing + the fdatasync() syscall.</p> </desc> </func> <func> |