doc: fix parameter name in uv_fs_access

Closes #1560
This commit is contained in:
Saúl Ibarra Corretgé 2014-11-06 21:14:57 -05:00
parent 3f585626a4
commit e03c0c7383
2 changed files with 2 additions and 2 deletions

View File

@ -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()``.

View File

@ -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,