parent
3f585626a4
commit
e03c0c7383
@ -229,7 +229,7 @@ API
|
|||||||
|
|
||||||
Limited equivalent to ``sendfile(2)``.
|
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)
|
.. c:function:: int uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb)
|
||||||
|
|
||||||
Equivalent to ``access(2)`` on Unix. Windows uses ``GetFileAttributesW()``.
|
Equivalent to ``access(2)`` on Unix. Windows uses ``GetFileAttributesW()``.
|
||||||
|
|
||||||
|
|||||||
@ -1138,7 +1138,7 @@ UV_EXTERN int uv_fs_sendfile(uv_loop_t* loop,
|
|||||||
UV_EXTERN int uv_fs_access(uv_loop_t* loop,
|
UV_EXTERN int uv_fs_access(uv_loop_t* loop,
|
||||||
uv_fs_t* req,
|
uv_fs_t* req,
|
||||||
const char* path,
|
const char* path,
|
||||||
int flags,
|
int mode,
|
||||||
uv_fs_cb cb);
|
uv_fs_cb cb);
|
||||||
UV_EXTERN int uv_fs_chmod(uv_loop_t* loop,
|
UV_EXTERN int uv_fs_chmod(uv_loop_t* loop,
|
||||||
uv_fs_t* req,
|
uv_fs_t* req,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user