doc: fix return value for uv_pipe_connect2
It was incorrectly documented as returning void since its addition, but it returns int.
This commit is contained in:
parent
6cf854c11b
commit
aee30bd8d0
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user