diff options
author | Paolo Greppi <paolo.greppi@libpf.com> | 2018-04-27 21:58:57 +0200 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-06-19 10:05:01 -0400 |
commit | aa28f7d5bf36b4df1e606ed47364d91d896b1f8b (patch) | |
tree | 1b1f234556bb901754676ecf47c1ccd6d9f16ce0 /docs/src | |
parent | 8ab14e2cb9cec9cc15ee0cbb899e6ee304e22267 (diff) | |
download | libuv-aa28f7d5bf36b4df1e606ed47364d91d896b1f8b.tar.gz libuv-aa28f7d5bf36b4df1e606ed47364d91d896b1f8b.zip |
unix,win: add uv_fs_lchown()
Fixes: https://github.com/libuv/libuv/issues/1790
PR-URL: https://github.com/libuv/libuv/pull/1826
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/fs.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst index e425d4ec..a390f140 100644 --- a/docs/src/fs.rst +++ b/docs/src/fs.rst @@ -92,6 +92,7 @@ Data types UV_FS_READLINK, UV_FS_CHOWN, UV_FS_FCHOWN, + UV_FS_LCHOWN, UV_FS_REALPATH, UV_FS_COPYFILE } uv_fs_type; @@ -349,12 +350,15 @@ API .. c:function:: int uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) .. c:function:: int uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) +.. c:function:: int uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) - Equivalent to :man:`chown(2)` and :man:`fchown(2)` respectively. + Equivalent to :man:`chown(2)`, :man:`fchown(2)` and :man:`lchown(2)` respectively. .. note:: These functions are not implemented on Windows. + .. versionchanged:: 1.21.0 implemented uv_fs_lchown + .. c:function:: uv_fs_type uv_fs_get_type(const uv_fs_t* req) Returns `req->fs_type`. |