diff options
Diffstat (limited to 'man2/getsockname.2')
-rw-r--r-- | man2/getsockname.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/getsockname.2 b/man2/getsockname.2 index e2cc11e..6d4a9f6 100644 --- a/man2/getsockname.2 +++ b/man2/getsockname.2 @@ -9,7 +9,7 @@ .\" Modified Tue Oct 22 00:22:35 EDT 1996 by Eric S. Raymond <esr@thyrsus.com> .\" Modified Sun Mar 28 21:26:46 1999 by Andries Brouwer <aeb@cwi.nl> .\" -.TH getsockname 2 2023-04-03 "Linux man-pages 6.05.01" +.TH getsockname 2 2023-10-31 "Linux man-pages 6.7" .SH NAME getsockname \- get socket name .SH LIBRARY @@ -18,7 +18,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <sys/socket.h> -.PP +.P .BI "int getsockname(int " sockfd ", struct sockaddr *restrict " addr , .BI " socklen_t *restrict " addrlen ); .fi @@ -34,7 +34,7 @@ argument should be initialized to indicate the amount of space (in bytes) pointed to by .IR addr . On return it contains the actual size of the socket address. -.PP +.P The returned address is truncated if the buffer provided is too small; in this case, .I addrlen |