aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst
index d6a0e6a3..cc8f5525 100644
--- a/docs/src/fs.rst
+++ b/docs/src/fs.rst
@@ -76,6 +76,7 @@ Data types
UV_FS_FTRUNCATE,
UV_FS_UTIME,
UV_FS_FUTIME,
+ UV_FS_ACCESS,
UV_FS_CHMOD,
UV_FS_FCHMOD,
UV_FS_FSYNC,
@@ -228,6 +229,10 @@ API
Limited equivalent to ``sendfile(2)``.
+.. c:function:: int uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb)
+
+ Equivalent to ``access(2)`` on Unix. Windows uses ``GetFileAttributesW()``.
+
.. c:function:: int uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb)
.. c:function:: int uv_fs_fchmod(uv_loop_t* loop, uv_fs_t* req, uv_file file, int mode, uv_fs_cb cb)