cleanup socketcall syscall interface to ease porting to sane(r) archs
[musl] / src / network / recvmsg.c
1 #include <sys/socket.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 ssize_t recvmsg(int fd, struct msghdr *msg, int flags)
6 {
7         ssize_t r;
8         CANCELPT_BEGIN;
9         r = socketcall(recvmsg, fd, msg, flags, 0, 0, 0);
10         CANCELPT_END;
11         return r;
12 }