docs: add Windows specific note for uv_fs_open

This commit is contained in:
Saúl Ibarra Corretgé 2015-06-18 10:23:17 +02:00
parent 15e4dedace
commit ac89bb4d30

View File

@ -168,6 +168,11 @@ API
Equivalent to :man:`open(2)`. 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) .. 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)`. Equivalent to :man:`preadv(2)`.