From 866dc3f98bdf58357b0053e6de90cdcbd59f7efc Mon Sep 17 00:00:00 2001 From: Brian White Date: Wed, 2 Sep 2015 01:32:55 -0400 Subject: [PATCH] doc: add uv_dlsym() return type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/503 Reviewed-By: Saúl Ibarra Corretgé --- docs/src/dll.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/dll.rst b/docs/src/dll.rst index 3fb11e19..fb13f908 100644 --- a/docs/src/dll.rst +++ b/docs/src/dll.rst @@ -34,7 +34,7 @@ API Close the shared library. -.. c:function:: uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) +.. c:function:: int uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) Retrieves a data pointer from a dynamic library. It is legal for a symbol to map to NULL. Returns 0 on success and -1 if the symbol was not found.