diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-21 08:37:43 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-21 08:37:43 +0000 |
commit | 3d421b2845df67a2e1f0a9da0b7101f87872eee6 (patch) | |
tree | b6c8e3fd862e7c9818cfbae25e1ce52ff7a28113 /include | |
parent | fbe57a0939647018bc094beb0252c13d16ac159b (diff) | |
download | glibc-3d421b2845df67a2e1f0a9da0b7101f87872eee6.zip glibc-3d421b2845df67a2e1f0a9da0b7101f87872eee6.tar.gz glibc-3d421b2845df67a2e1f0a9da0b7101f87872eee6.tar.bz2 |
(__getpeername): Add declaration.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 576c593..7d889ac 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 |