blob: 6567b45191571dbd3ef970c4c2861f3312e551f3 (
plain) (
blame)
1
2
3
4
5
6
7
|
#include <sys/socket.h>
#include "syscall.h"
int getpeername(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
{
return socketcall(getpeername, fd, addr, len, 0, 0, 0);
}
|