aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2014-10-02 22:16:21 -0400
committerSaúl Ibarra Corretgé <saghul@gmail.com>2014-10-13 10:23:53 +0200
commitc18205a1c588b5cfb7ea74c67b5e2974ebeff7ab (patch)
tree6590e40feca4aab3e3fc8a536fc9fc17f04aa7b4 /docs/src
parent416b7335fcc089b15eec6221b3d2f8c7108c6ce7 (diff)
downloadlibuv-c18205a1c588b5cfb7ea74c67b5e2974ebeff7ab.tar.gz
libuv-c18205a1c588b5cfb7ea74c67b5e2974ebeff7ab.zip
unix, windows: add uv_fs_access()
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)