fix possible fd leak, unrestored cancellation state on dns socket fail
[musl.git] / src / network / send.c
blob9f104977321182758eb59d5f9fb17326dfc3f8b5
1 #include <sys/socket.h>
3 ssize_t send(int fd, const void *buf, size_t len, int flags)
5 return sendto(fd, buf, len, flags, 0, 0);