aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/src/pipe.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pipe.rst b/docs/src/pipe.rst
index 4abdc65e..bb77f90e 100644
--- a/docs/src/pipe.rst
+++ b/docs/src/pipe.rst
@@ -94,7 +94,7 @@ API
Paths on Unix get truncated to ``sizeof(sockaddr_un.sun_path)`` bytes,
typically between 92 and 108 bytes.
-.. c:function:: void uv_pipe_connect2(uv_connect_t* req, uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags, uv_connect_cb cb)
+.. c:function:: int uv_pipe_connect2(uv_connect_t* req, uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags, uv_connect_cb cb)
Connect to the Unix domain socket or the Windows named pipe.