projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
network
/
sendto.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
ssize_t sendto(int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t alen)
6
{
7
ssize_t r;
8
CANCELPT_BEGIN;
9
r = socketcall(sendto, fd, buf, len, flags, addr, alen);
10
CANCELPT_END;
11
return r;
12
}