summaryrefslogtreecommitdiff
path: root/src/network/recvfrom.c
blob: 436f3447cfb8782c0ea6a8fa63e1f56ecdae472d (plain)
1
2
3
4
5
6
7
8
#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"

ssize_t recvfrom(int fd, void *restrict buf, size_t len, int flags, struct sockaddr *restrict addr, socklen_t *restrict alen)
{
	return socketcall_cp(recvfrom, fd, buf, len, flags, addr, alen);
}