Skip to content

Commit 8ab14e2

Browse files
jBarzcjihrig
authored andcommitted
doc: add uv_fs_fsync() AIX limitations
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>
1 parent 02fc109 commit 8ab14e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/fs.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ API
234234
235235
Equivalent to :man:`fsync(2)`.
236236
237+
.. note::
238+
For AIX, `uv_fs_fsync` returns `UV_EBADF` on file descriptors referencing
239+
non regular files.
240+
237241
.. c:function:: int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb)
238242
239243
Equivalent to :man:`fdatasync(2)`.

0 commit comments

Comments
 (0)