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
/
sendmsg.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
6
{
7
ssize_t r;
8
CANCELPT_BEGIN;
9
r = socketcall(sendmsg, fd, msg, flags, 0, 0, 0);
10
CANCELPT_END;
11
return r;
12
}