From 89a9ea672b6032c35a1ea3740d18c7d5e085b58f Mon Sep 17 00:00:00 2001 From: Emil Bay Date: Sat, 1 Sep 2018 23:13:44 +0200 Subject: doc: fix argument name in tcp.rts PR-URL: https://github.com/libuv/libuv/pull/1974 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno --- docs/src/tcp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src') diff --git a/docs/src/tcp.rst b/docs/src/tcp.rst index e761b460..d20a6362 100644 --- a/docs/src/tcp.rst +++ b/docs/src/tcp.rst @@ -86,13 +86,13 @@ API .. c:function:: int uv_tcp_getsockname(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) - Get the current address to which the handle is bound. `addr` must point to + Get the current address to which the handle is bound. `name` must point to a valid and big enough chunk of memory, ``struct sockaddr_storage`` is recommended for IPv4 and IPv6 support. .. c:function:: int uv_tcp_getpeername(const uv_tcp_t* handle, struct sockaddr* name, int* namelen) - Get the address of the peer connected to the handle. `addr` must point to + Get the address of the peer connected to the handle. `name` must point to a valid and big enough chunk of memory, ``struct sockaddr_storage`` is recommended for IPv4 and IPv6 support. -- cgit v1.2.3