aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <saghul@gmail.com>2015-06-18 10:23:17 +0200
committerSaúl Ibarra Corretgé <saghul@gmail.com>2015-07-07 09:55:52 +0200
commitac89bb4d30d079a3ba88f90b983b7c230e3fbce3 (patch)
tree4759b14f0d80f4f143a1d0c985666d6e3759394f /docs/src
parent15e4dedace37eb8585dcc29bbf3cd49f14e5801b (diff)
downloadlibuv-ac89bb4d30d079a3ba88f90b983b7c230e3fbce3.tar.gz
libuv-ac89bb4d30d079a3ba88f90b983b7c230e3fbce3.zip
docs: add Windows specific note for uv_fs_open
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst
index c2a3fc25..ec1b9c63 100644
--- a/docs/src/fs.rst
+++ b/docs/src/fs.rst
@@ -168,6 +168,11 @@ API
Equivalent to :man:`open(2)`.
+ .. note::
+ On Windows libuv uses `CreateFileW` and thus the file is always opened
+ in binary mode. Because of this the O_BINARY and O_TEXT flags are not
+ supported.
+
.. c:function:: int uv_fs_read(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
Equivalent to :man:`preadv(2)`.