summaryrefslogtreecommitdiff
path: root/deps/uv/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/docs/src')
-rw-r--r--deps/uv/docs/src/conf.py6
-rw-r--r--deps/uv/docs/src/misc.rst6
2 files changed, 8 insertions, 4 deletions
diff --git a/deps/uv/docs/src/conf.py b/deps/uv/docs/src/conf.py
index b9eaa13743..3f8689d2e5 100644
--- a/deps/uv/docs/src/conf.py
+++ b/deps/uv/docs/src/conf.py
@@ -21,11 +21,11 @@ def get_libuv_version():
with open('../../include/uv-version.h') as f:
data = f.read()
try:
- m = re.search(r"""^#define UV_VERSION_MAJOR (\d)$""", data, re.MULTILINE)
+ m = re.search(r"""^#define UV_VERSION_MAJOR (\d+)$""", data, re.MULTILINE)
major = int(m.group(1))
- m = re.search(r"""^#define UV_VERSION_MINOR (\d)$""", data, re.MULTILINE)
+ m = re.search(r"""^#define UV_VERSION_MINOR (\d+)$""", data, re.MULTILINE)
minor = int(m.group(1))
- m = re.search(r"""^#define UV_VERSION_PATCH (\d)$""", data, re.MULTILINE)
+ m = re.search(r"""^#define UV_VERSION_PATCH (\d+)$""", data, re.MULTILINE)
patch = int(m.group(1))
m = re.search(r"""^#define UV_VERSION_IS_RELEASE (\d)$""", data, re.MULTILINE)
is_release = int(m.group(1))
diff --git a/deps/uv/docs/src/misc.rst b/deps/uv/docs/src/misc.rst
index 95237f49c7..7193469462 100644
--- a/deps/uv/docs/src/misc.rst
+++ b/deps/uv/docs/src/misc.rst
@@ -192,7 +192,11 @@ API
.. c:function:: int uv_set_process_title(const char* title)
- Sets the current process title.
+ Sets the current process title. On platforms with a fixed size buffer for the
+ process title the contents of `title` will be copied to the buffer and
+ truncated if larger than the available space. Other platforms will return
+ `UV_ENOMEM` if they cannot allocate enough space to duplicate the contents of
+ `title`.
.. c:function:: int uv_resident_set_memory(size_t* rss)