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:
parent
02fc10918c
commit
8ab14e2cb9
@ -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)`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user