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>
This commit is contained in:
John Barboza 2018-06-13 06:58:21 -07:00 committed by cjihrig
parent 02fc10918c
commit 8ab14e2cb9
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -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)`.