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

ssize_t recv(int fd, void *buf, size_t len, int flags)
{
	return recvfrom(fd, buf, len, flags, 0, 0);
}