diff options
Diffstat (limited to 'deps/uv/docs')
-rw-r--r-- | deps/uv/docs/src/conf.py | 2 | ||||
-rw-r--r-- | deps/uv/docs/src/errors.rst | 7 | ||||
-rw-r--r-- | deps/uv/docs/src/fs.rst | 10 | ||||
-rw-r--r-- | deps/uv/docs/src/handle.rst | 8 | ||||
-rw-r--r-- | deps/uv/docs/src/pipe.rst | 4 | ||||
-rw-r--r-- | deps/uv/docs/src/process.rst | 5 | ||||
-rw-r--r-- | deps/uv/docs/src/request.rst | 9 |
7 files changed, 41 insertions, 4 deletions
diff --git a/deps/uv/docs/src/conf.py b/deps/uv/docs/src/conf.py index c9b4ea38c3..f6f43253d3 100644 --- a/deps/uv/docs/src/conf.py +++ b/deps/uv/docs/src/conf.py @@ -18,7 +18,7 @@ import sys def get_libuv_version(): - with open('../../include/uv-version.h') as f: + with open('../../include/uv/version.h') as f: data = f.read() try: m = re.search(r"""^#define UV_VERSION_MAJOR (\d+)$""", data, re.MULTILINE) diff --git a/deps/uv/docs/src/errors.rst b/deps/uv/docs/src/errors.rst index 4e30447bf1..7c3f95d760 100644 --- a/deps/uv/docs/src/errors.rst +++ b/deps/uv/docs/src/errors.rst @@ -323,6 +323,13 @@ Error constants API --- +.. c:function:: UV_ERRNO_MAP(iter_macro) + + Macro that expands to a series of invocations of `iter_macro` for + each of the error constants above. `iter_macro` is invoked with two + arguments: the name of the error constant without the `UV_` prefix, + and the error message string literal. + .. c:function:: const char* uv_strerror(int err) Returns the error message for the given error code. Leaks a few bytes diff --git a/deps/uv/docs/src/fs.rst b/deps/uv/docs/src/fs.rst index 8e8fc2f1d5..a390f1409d 100644 --- a/deps/uv/docs/src/fs.rst +++ b/deps/uv/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; @@ -234,6 +235,10 @@ API Equivalent to :man:`fsync(2)`. + .. note:: + For AIX, `uv_fs_fsync` returns `UV_EBADF` on file descriptors referencing + non regular files. + .. c:function:: int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) Equivalent to :man:`fdatasync(2)`. @@ -345,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`. diff --git a/deps/uv/docs/src/handle.rst b/deps/uv/docs/src/handle.rst index cdfb76bf8c..86fa811d3f 100644 --- a/deps/uv/docs/src/handle.rst +++ b/deps/uv/docs/src/handle.rst @@ -101,6 +101,14 @@ Public members API --- +.. c:function:: UV_HANDLE_TYPE_MAP(iter_macro) + + Macro that expands to a series of invocations of `iter_macro` for + each of the handle types. `iter_macro` is invoked with two + arguments: the name of the `uv_handle_type` element without the + `UV_` prefix, and the name of the corresponding structure type + without the `uv_` prefix and `_t` suffix. + .. c:function:: int uv_is_active(const uv_handle_t* handle) Returns non-zero if the handle is active, zero if it's inactive. What diff --git a/deps/uv/docs/src/pipe.rst b/deps/uv/docs/src/pipe.rst index bdaeeba9d4..376d6117bb 100644 --- a/deps/uv/docs/src/pipe.rst +++ b/deps/uv/docs/src/pipe.rst @@ -21,7 +21,9 @@ Data types Public members ^^^^^^^^^^^^^^ -N/A +.. c:member:: int uv_pipe_t.ipc + + Whether this pipe is suitable for handle passing between processes. .. seealso:: The :c:type:`uv_stream_t` members also apply. diff --git a/deps/uv/docs/src/process.rst b/deps/uv/docs/src/process.rst index ecc3cbf348..bc968554e1 100644 --- a/deps/uv/docs/src/process.rst +++ b/deps/uv/docs/src/process.rst @@ -109,6 +109,11 @@ Data types */ UV_READABLE_PIPE = 0x10, UV_WRITABLE_PIPE = 0x20 + /* + * Open the child pipe handle in overlapped mode on Windows. + * On Unix it is silently ignored. + */ + UV_OVERLAPPED_PIPE = 0x40 } uv_stdio_flags; diff --git a/deps/uv/docs/src/request.rst b/deps/uv/docs/src/request.rst index 54d9a2f309..56038287b2 100644 --- a/deps/uv/docs/src/request.rst +++ b/deps/uv/docs/src/request.rst @@ -46,7 +46,6 @@ Public members UV_WORK, UV_GETADDRINFO, UV_GETNAMEINFO, - UV_REQ_TYPE_PRIVATE, UV_REQ_TYPE_MAX, } uv_req_type; @@ -54,6 +53,14 @@ Public members API --- +.. c:function:: UV_REQ_TYPE_MAP(iter_macro) + + Macro that expands to a series of invocations of `iter_macro` for + each of the request types. `iter_macro` is invoked with two + arguments: the name of the `uv_req_type` element without the `UV_` + prefix, and the name of the corresponding structure type without the + `uv_` prefix and `_t` suffix. + .. c:function:: int uv_cancel(uv_req_t* req) Cancel a pending request. Fails if the request is executing or has finished |