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

ssize_t recvfrom(int fd, void *buf, size_t len, int flags, struct sockaddr *addr, socklen_t *alen)
{
	ssize_t r;
	CANCELPT_BEGIN;
	r = socketcall(recvfrom, fd, buf, len, flags, addr, alen);
	CANCELPT_END;
	return r;
}