about summary refs log tree commit diff
path: root/src/network/sendto.c
blob: 1cfc621d2796c64215a8d086bbbab7145262260c (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 sendto(int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t alen)
{
	ssize_t r;
	CANCELPT_BEGIN;
	r = socketcall(sendto, fd, buf, len, flags, addr, alen);
	CANCELPT_END;
	return r;
}