summaryrefslogtreecommitdiff
path: root/src/network/getsockopt.c
blob: 28079d8c0cb60a4e4d810a49ca7b0992bc6d4d9f (plain)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int getsockopt(int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen)
{
	return socketcall(getsockopt, fd, level, optname, optval, optlen, 0);
}