summaryrefslogtreecommitdiff
path: root/src/network/recvmsg.c
blob: edc5f2417d34ac13167d54ca9ca18bee2b81d18f (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 recvmsg(int fd, struct msghdr *msg, int flags)
{
	ssize_t r;
	CANCELPT_BEGIN;
	r = socketcall(recvmsg, fd, msg, flags, 0, 0, 0);
	CANCELPT_END;
	return r;
}