aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorSk Sajidul Kadir <sheikh.sajid522@gmail.com>2020-02-29 23:29:15 +1100
committerBen Noordhuis <info@bnoordhuis.nl>2020-04-14 10:06:33 +0200
commitbd4292385f5b0a1be85d6c7dd7b51d4b22a4289c (patch)
tree6be0fc63b5956f1a08d630cd836eafba2ac9226c /docs/src
parentdc7c874660526e4ed70c7c7579b974283c9ad6e0 (diff)
downloadlibuv-bd4292385f5b0a1be85d6c7dd7b51d4b22a4289c.tar.gz
libuv-bd4292385f5b0a1be85d6c7dd7b51d4b22a4289c.zip
fs: add uv_fs_lutime()
PR-URL: https://github.com/libuv/libuv/pull/2723 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst
index 2943ead3..a475a460 100644
--- a/docs/src/fs.rst
+++ b/docs/src/fs.rst
@@ -100,7 +100,8 @@ Data types
UV_FS_OPENDIR,
UV_FS_READDIR,
UV_FS_CLOSEDIR,
- UV_FS_MKSTEMP
+ UV_FS_MKSTEMP,
+ UV_FS_LUTIME
} uv_fs_type;
.. c:type:: uv_statfs_t
@@ -402,12 +403,17 @@ API
.. c:function:: int uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb)
.. c:function:: int uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double mtime, uv_fs_cb cb)
+.. c:function:: int uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb)
- Equivalent to :man:`utime(2)` and :man:`futimes(3)` respectively.
+ Equivalent to :man:`utime(2)`, :man:`futimes(3)` and :man:`lutimes(3)` respectively.
.. note::
- AIX: This function only works for AIX 7.1 and newer. It can still be called on older
- versions but will return ``UV_ENOSYS``.
+ z/OS: `uv_fs_lutime()` is not implemented for z/OS. It can still be called but will return
+ ``UV_ENOSYS``.
+
+ .. note::
+ AIX: `uv_fs_futime()` and `uv_fs_lutime()` functions only work for AIX 7.1 and newer.
+ They can still be called on older versions but will return ``UV_ENOSYS``.
.. versionchanged:: 1.10.0 sub-second precission is supported on Windows