Skip to content

Commit

Permalink
doc: add uv_fs_fsync() AIX limitations
Browse files Browse the repository at this point in the history
Unlike other platforms, the fsync call on aix will not accept
non-regular file file-descriptors.

Refs: nodejs/node#21298
PR-URL: #1879
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
jBarz authored and cjihrig committed Jun 19, 2018
1 parent 02fc109 commit 8ab14e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/fs.rst
Expand Up @@ -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)`.
Expand Down

0 comments on commit 8ab14e2

Please sign in to comment.