aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorJohn Barboza <jbarboza@ca.ibm.com>2018-06-13 06:58:21 -0700
committercjihrig <cjihrig@gmail.com>2018-06-19 09:35:45 -0400
commit8ab14e2cb9cec9cc15ee0cbb899e6ee304e22267 (patch)
tree33ccee3868743a1e8c7c6969a433501904f29c5b /docs/src
parent02fc10918ceee4bb6e0b7c70a3b5a234a6284b47 (diff)
downloadlibuv-8ab14e2cb9cec9cc15ee0cbb899e6ee304e22267.tar.gz
libuv-8ab14e2cb9cec9cc15ee0cbb899e6ee304e22267.zip
doc: add uv_fs_fsync() AIX limitations
Unlike other platforms, the fsync call on aix will not accept non-regular file file-descriptors. Refs: https://github.com/nodejs/node/pull/21298 PR-URL: https://github.com/libuv/libuv/pull/1879 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst
index 8e8fc2f1..e425d4ec 100644
--- a/docs/src/fs.rst
+++ b/docs/src/fs.rst
@@ -234,6 +234,10 @@ API
Equivalent to :man:`fsync(2)`.
+ .. note::
+ For AIX, `uv_fs_fsync` returns `UV_EBADF` on file descriptors referencing
+ non regular files.
+
.. c:function:: int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
Equivalent to :man:`fdatasync(2)`.