diff options
author | João Reis <reis@janeasystems.com> | 2019-05-09 01:18:05 +0100 |
---|---|---|
committer | Bartosz Sosnowski <bartosz@janeasystems.com> | 2019-07-16 18:20:10 +0200 |
commit | 2c279504f92a7ab1fc54c85ec36272722198a77e (patch) | |
tree | ebafe2d387b53e133f889f30a1c44150e4228ea7 /docs/src | |
parent | dabc737d7892971289537e52af4366c63cbc70b3 (diff) | |
download | libuv-2c279504f92a7ab1fc54c85ec36272722198a77e.tar.gz libuv-2c279504f92a7ab1fc54c85ec36272722198a77e.zip |
win: add UV_FS_O_FILEMAP
Reading and writing files using a memory file mapping can be
significantly faster on Windows.
PR-URL: https://github.com/libuv/libuv/pull/2295
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/fs.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst index 996624b6..fb8105fb 100644 --- a/docs/src/fs.rst +++ b/docs/src/fs.rst @@ -534,6 +534,14 @@ File open constants .. versionchanged:: 1.17.0 support is added for Windows. +.. c:macro:: UV_FS_O_FILEMAP + + Use a memory file mapping to access the file. When using this flag, the + file cannot be open multiple times concurrently. + + .. note:: + `UV_FS_O_FILEMAP` is only supported on Windows. + .. c:macro:: UV_FS_O_NOATIME Do not update the file access time when the file is read. |