summaryrefslogtreecommitdiff
path: root/lib/kernel/doc
diff options
context:
space:
mode:
authorJohn Högberg <john@erlang.org>2019-07-12 09:19:56 +0200
committerJohn Högberg <john@erlang.org>2019-07-12 09:19:56 +0200
commitfa81f1ea82b316a150eeffed861b1cdf5b357508 (patch)
treefb91bbf2f4c457368d34889390b55e62733d051d /lib/kernel/doc
parent434883dac1173297a9fd82166068d52f843b3339 (diff)
parent924cd70f8b7cf1fa2256055af39723b24fd6238e (diff)
downloaderlang-fa81f1ea82b316a150eeffed861b1cdf5b357508.tar.gz
Merge branch 'john/erts/merge-fd-file-info/OTP-15956'
* john/erts/merge-fd-file-info/OTP-15956: file: allow read_file_info on file descriptors
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r--lib/kernel/doc/src/file.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index b3e8149cc2..d923207f9f 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -1444,7 +1444,11 @@ f.txt: {person, "kalle", 25}.
break this module's atomicity guarantees as it can race with a
concurrent call to
<seealso marker="#write_file_info/2"><c>write_file_info/1,2</c>
- </seealso></p>
+ </seealso>.</p>
+ <p>This option has no effect when the function is
+ given an I/O device instead of a file name. Use
+ <seealso marker="#open/2"><c>open/2</c></seealso> with the
+ <c>raw</c> mode to obtain a file descriptor first.</p>
<note>
<p>As file times are stored in POSIX time on most OS, it is faster to
query file information with option <c>posix</c>.</p>