add more legacy functions: setlinebuf and setbuffer
[musl] / 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 }