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

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