diff options
author | cjihrig <cjihrig@gmail.com> | 2019-01-18 13:37:29 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-01-21 10:28:17 -0500 |
commit | f698386c7e988ef45027a75b2ff988899ee2af1d (patch) | |
tree | 37d9c39baf7fb03e472701436410e8e461086174 /deps/uv/docs | |
parent | 27871c35b685dd599710e57e76a66ee3a82c1e6d (diff) | |
download | android-node-v8-f698386c7e988ef45027a75b2ff988899ee2af1d.tar.gz android-node-v8-f698386c7e988ef45027a75b2ff988899ee2af1d.tar.bz2 android-node-v8-f698386c7e988ef45027a75b2ff988899ee2af1d.zip |
deps: upgrade to libuv 1.25.0
PR-URL: https://github.com/nodejs/node/pull/25571
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'deps/uv/docs')
-rw-r--r-- | deps/uv/docs/src/fs.rst | 9 | ||||
-rw-r--r-- | deps/uv/docs/src/misc.rst | 22 |
2 files changed, 22 insertions, 9 deletions
diff --git a/deps/uv/docs/src/fs.rst b/deps/uv/docs/src/fs.rst index 21f9e27cb4..af97ec3a64 100644 --- a/deps/uv/docs/src/fs.rst +++ b/deps/uv/docs/src/fs.rst @@ -233,15 +233,6 @@ API Equivalent to :man:`rename(2)`. - .. note:: - On Windows if this function fails with ``UV_EBUSY``, ``UV_EPERM`` or - ``UV_EACCES``, it will retry to rename the file up to four times with - 250ms wait between attempts before giving up. If both `path` and - `new_path` are existing directories this function will work only if - target directory is empty. - - .. versionchanged:: 1.24.0 Added retrying and directory move support on Windows. - .. c:function:: int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) Equivalent to :man:`fsync(2)`. diff --git a/deps/uv/docs/src/misc.rst b/deps/uv/docs/src/misc.rst index cf4a7895cd..81c03a8530 100644 --- a/deps/uv/docs/src/misc.rst +++ b/deps/uv/docs/src/misc.rst @@ -145,6 +145,19 @@ Data types char* homedir; } uv_passwd_t; +.. c:type:: uv_utsname_t + + Data type for operating system name and version information. + + :: + + typedef struct uv_utsname_s { + char sysname[256]; + char release[256]; + char version[256]; + char machine[256]; + } uv_utsname_t; + API --- @@ -549,3 +562,12 @@ API for others it will be silently reduced to `PRIORITY_HIGH`. .. versionadded:: 1.23.0 + +.. c:function:: int uv_os_uname(uv_utsname_t* buffer) + + Retrieves system information in `buffer`. The populated data includes the + operating system name, release, version, and machine. On non-Windows + systems, `uv_os_uname()` is a thin wrapper around :man:`uname(3)`. Returns + zero on success, and a non-zero error value otherwise. + + .. versionadded:: 1.25.0 |