From aee30bd8d06be1a601bc5ca7adf285c7278db930 Mon Sep 17 00:00:00 2001 From: Sean Dewar <6256228+seandewar@users.noreply.github.com> Date: Mon, 28 Jul 2025 10:08:54 +0100 Subject: [PATCH] doc: fix return value for uv_pipe_connect2 It was incorrectly documented as returning void since its addition, but it returns int. --- docs/src/pipe.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pipe.rst b/docs/src/pipe.rst index 4abdc65e7..bb77f90e3 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.