diff options
author | Andre Nathan <andre@digirati.com.br> | 2019-04-29 09:29:59 -0300 |
---|---|---|
committer | John Högberg <john@erlang.org> | 2019-07-12 09:06:45 +0200 |
commit | 924cd70f8b7cf1fa2256055af39723b24fd6238e (patch) | |
tree | dc50661270400d205fa83c3552cb94a8c6ee989f /lib/kernel/doc/src/file.xml | |
parent | b286b7f1de4aed13ba71b817321673eb67df941e (diff) | |
download | erlang-924cd70f8b7cf1fa2256055af39723b24fd6238e.tar.gz |
file: allow read_file_info on file descriptors
Diffstat (limited to 'lib/kernel/doc/src/file.xml')
-rw-r--r-- | lib/kernel/doc/src/file.xml | 6 |
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> |