diff options
author | cjihrig <cjihrig@gmail.com> | 2018-07-09 22:16:25 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-07-10 21:47:58 -0400 |
commit | 8174d0c8cae857296c45b2c448348f2c781f6ace (patch) | |
tree | ca064ff21bac35295fc7b0e052530f87e5b3931d /deps/uv/docs | |
parent | 9d71619bbee7c198cb20ec4702024ac983b5db7d (diff) | |
download | android-node-v8-8174d0c8cae857296c45b2c448348f2c781f6ace.tar.gz android-node-v8-8174d0c8cae857296c45b2c448348f2c781f6ace.tar.bz2 android-node-v8-8174d0c8cae857296c45b2c448348f2c781f6ace.zip |
deps: upgrade to libuv 1.22.0
PR-URL: https://github.com/nodejs/node/pull/21731
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/uv/docs')
-rw-r--r-- | deps/uv/docs/src/errors.rst | 14 | ||||
-rw-r--r-- | deps/uv/docs/src/fs.rst | 4 |
2 files changed, 16 insertions, 2 deletions
diff --git a/deps/uv/docs/src/errors.rst b/deps/uv/docs/src/errors.rst index 7c3f95d760..b8f971f576 100644 --- a/deps/uv/docs/src/errors.rst +++ b/deps/uv/docs/src/errors.rst @@ -335,11 +335,25 @@ API Returns the error message for the given error code. Leaks a few bytes of memory when you call it with an unknown error code. +.. c:function:: char* uv_strerror_r(int err, char* buf, size_t buflen) + + Returns the error message for the given error code. The zero-terminated + message is stored in the user-supplied buffer `buf` of at most `buflen` bytes. + + .. versionadded:: 1.22.0 + .. c:function:: const char* uv_err_name(int err) Returns the error name for the given error code. Leaks a few bytes of memory when you call it with an unknown error code. +.. c:function:: char* uv_err_name_r(int err, char* buf, size_t buflen) + + Returns the error name for the given error code. The zero-terminated + name is stored in the user-supplied buffer `buf` of at most `buflen` bytes. + + .. versionadded:: 1.22.0 + .. c:function:: int uv_translate_sys_error(int sys_errno) Returns the libuv error code equivalent to the given platform dependent error diff --git a/deps/uv/docs/src/fs.rst b/deps/uv/docs/src/fs.rst index a390f1409d..f383e5b10c 100644 --- a/deps/uv/docs/src/fs.rst +++ b/deps/uv/docs/src/fs.rst @@ -92,9 +92,9 @@ Data types UV_FS_READLINK, UV_FS_CHOWN, UV_FS_FCHOWN, - UV_FS_LCHOWN, UV_FS_REALPATH, - UV_FS_COPYFILE + UV_FS_COPYFILE, + UV_FS_LCHOWN } uv_fs_type; .. c:type:: uv_dirent_t |