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.
This commit is contained in:
Leo Chung 2019-06-19 12:46:55 +08:00 committed by Ben Noordhuis
parent 69c78f9ff7
commit 5fc58eb3d5

View File

@ -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.