aboutsummaryrefslogtreecommitdiff
path: root/support/xsocket.h
diff options
context:
space:
mode:
authorSergey Kolosov <skolosov@redhat.com>2024-04-10 17:58:04 +0200
committerArjun Shankar <arjun@redhat.com>2024-04-10 18:10:22 +0200
commit6687a6e3f962759536a8019d31c68c1009ccd6eb (patch)
treeeea37f30559a72470ef61b2ef71c6368e9a3bb27 /support/xsocket.h
parent42e48e720c78ab75eb8def9e866da52b0ac278df (diff)
downloadglibc-6687a6e3f962759536a8019d31c68c1009ccd6eb.zip
glibc-6687a6e3f962759536a8019d31c68c1009ccd6eb.tar.gz
glibc-6687a6e3f962759536a8019d31c68c1009ccd6eb.tar.bz2
libsupport: Add xgetpeername
The patch adds redirections for getpeername. Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'support/xsocket.h')
-rw-r--r--support/xsocket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/xsocket.h b/support/xsocket.h
index 3e44103..4ac0e1f 100644
--- a/support/xsocket.h
+++ b/support/xsocket.h
@@ -26,6 +26,7 @@
int xsocket (int, int, int);
void xsetsockopt (int, int, int, const void *, socklen_t);
void xgetsockname (int, struct sockaddr *, socklen_t *);
+void xgetpeername (int, struct sockaddr *, socklen_t *);
void xconnect (int, const struct sockaddr *, socklen_t);
void xbind (int, const struct sockaddr *, socklen_t);
void xlisten (int, int);