From: Andreas Jaeger Date: Mon, 21 Aug 2000 08:37:43 +0000 (+0000) Subject: (__getpeername): Add declaration. X-Git-Tag: cvs/glibc-2_1_93~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d421b2845df67a2e1f0a9da0b7101f87872eee6;p=thirdparty%2Fglibc.git (__getpeername): Add declaration. --- diff --git a/include/sys/socket.h b/include/sys/socket.h index 576c5934bb4..7d889ac9286 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -15,4 +15,8 @@ extern int __socketpair (int __domain, int __type, int __protocol, ioctl calls to talk to the kernel. */ extern int __opensock (void) internal_function; +/* Put the address of the peer connected to socket FD into *ADDR + (which is *LEN bytes long), and its actual length into *LEN. */ +extern int __getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__len); + #endif