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

ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
{
	ssize_t r;
	CANCELPT_BEGIN;
	r = socketcall(sendmsg, fd, msg, flags, 0, 0, 0);
	CANCELPT_END;
	return r;
}