summaryrefslogtreecommitdiffstats
path: root/man2/getpeername.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/getpeername.2')
-rw-r--r--man2/getpeername.214
1 files changed, 5 insertions, 9 deletions
diff --git a/man2/getpeername.2 b/man2/getpeername.2
index 54a00fe4d..d150617d3 100644
--- a/man2/getpeername.2
+++ b/man2/getpeername.2
@@ -11,7 +11,7 @@
.\" Modified 17 Jul 2002, Michael Kerrisk <mtk.manpages@gmail.com>
.\" Added 'socket' to NAME, so that "man -k socket" will show this page.
.\"
-.TH getpeername 2 2022-10-30 "Linux man-pages 6.03"
+.TH getpeername 2 2023-04-03 "Linux man-pages 6.05.01"
.SH NAME
getpeername \- get name of connected peer socket
.SH LIBRARY
@@ -76,15 +76,11 @@ The file descriptor
.I sockfd
does not refer to a socket.
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, SVr4, 4.4BSD
-.RB ( getpeername ()
-first appeared in 4.2BSD).
+POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, SVr4, 4.4BSD
+(first appeared in 4.2BSD).
.SH NOTES
-For background on the
-.I socklen_t
-type, see
-.BR accept (2).
-.PP
For stream sockets, once a
.BR connect (2)
has been performed, either socket can call