From 5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c Mon Sep 17 00:00:00 2001 From: Leo Chung Date: Wed, 19 Jun 2019 12:46:55 +0800 Subject: [PATCH] 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. --- docs/src/guide/threads.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.