aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorLeo Chung <gewalalb@gmail.com>2019-06-19 12:46:55 +0800
committerBen Noordhuis <info@bnoordhuis.nl>2019-06-25 08:57:42 +0200
commit5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c (patch)
treed44b4dee2030fcf58175cdc9de4e8ba024aaf40a /docs/src
parent69c78f9ff704c64c3bd696ffc3a06fdbface63bc (diff)
downloadlibuv-5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c.tar.gz
libuv-5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c.zip
doc: fix wrong mutex function prototypes
The `:lines:` numbers were wrong, they showed the signatures of the uv_fs_access and uv_fs_chmod functions.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/guide/threads.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/guide/threads.rst b/docs/src/guide/threads.rst
index b6a4fd85..960210db 100644
--- a/docs/src/guide/threads.rst
+++ b/docs/src/guide/threads.rst
@@ -77,7 +77,7 @@ The mutex functions are a **direct** map to the pthread equivalents.
.. rubric:: libuv mutex functions
.. literalinclude:: ../../../include/uv.h
- :lines: 1355-1360
+ :lines: 1575-1580
The ``uv_mutex_init()``, ``uv_mutex_init_recursive()`` and ``uv_mutex_trylock()``
functions will return 0 on success, and an error code otherwise.