about summary refs log tree commit diff
path: root/src/network/getpeername.c
blob: 22effdae022518c86a5d0c6d6d77ec2f22746b00 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int getpeername(int fd, struct sockaddr *addr, socklen_t *len)
{
	return socketcall(getpeername, fd, addr, len, 0, 0, 0);
}