getopt: fix null pointer arithmetic ub
[musl] / src / network / sendto.c
1 #include <sys/socket.h>
2 #include "syscall.h"
3
4 ssize_t sendto(int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t alen)
5 {
6         return socketcall_cp(sendto, fd, buf, len, flags, addr, alen);
7 }