aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorJason Zhang <xzha4350@gmail.com>2023-04-12 03:20:31 +0930
committerGitHub <noreply@github.com>2023-04-11 19:50:31 +0200
commite189c31375b6b872ac63b30df370ef8de884cb17 (patch)
tree36f6a6f262db55a20d67a50b3992306c89beeded /docs/src
parent1eae55984d90e63269b5c3a9279e68f5211e26ab (diff)
downloadlibuv-e189c31375b6b872ac63b30df370ef8de884cb17.tar.gz
libuv-e189c31375b6b872ac63b30df370ef8de884cb17.zip
doc: consistent single backquote in misc.rst (#3946)
Fixes: https://github.com/libuv/libuv/issues/3928
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/misc.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/misc.rst b/docs/src/misc.rst
index 39241df8..e8b9a4c8 100644
--- a/docs/src/misc.rst
+++ b/docs/src/misc.rst
@@ -214,7 +214,7 @@ API
type of the stdio streams.
For :man:`isatty(3)` equivalent functionality use this function and test
- for ``UV_TTY``.
+ for `UV_TTY`.
.. c:function:: int uv_replace_allocator(uv_malloc_func malloc_func, uv_realloc_func realloc_func, uv_calloc_func calloc_func, uv_free_func free_func)
@@ -228,8 +228,8 @@ API
after all resources have been freed and thus libuv doesn't reference
any allocated memory chunk.
- On success, it returns 0, if any of the function pointers is NULL it
- returns UV_EINVAL.
+ On success, it returns 0, if any of the function pointers is `NULL` it
+ returns `UV_EINVAL`.
.. warning:: There is no protection against changing the allocator multiple
times. If the user changes it they are responsible for making
@@ -368,7 +368,7 @@ API
.. c:function:: int uv_cpumask_size(void)
Returns the maximum size of the mask used for process/thread affinities,
- or ``UV_ENOTSUP`` if affinities are not supported on the current platform.
+ or `UV_ENOTSUP` if affinities are not supported on the current platform.
.. versionadded:: 1.45.0