[vlc-commits] os2: filesystem: implement vlc_send(), vlc_sendto() and vlc_sendmsg()
KO Myung-Hun
git at videolan.org
Fri Jan 29 14:54:30 UTC 2021
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Wed Jan 20 10:49:00 2021 +0100| [001d2328685140954293345acdf43a379c7ba5f8] | committer: Steve Lhomme
os2: filesystem: implement vlc_send(), vlc_sendto() and vlc_sendmsg()
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=001d2328685140954293345acdf43a379c7ba5f8
---
src/os2/filesystem.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/os2/filesystem.c b/src/os2/filesystem.c
index 8b1d3d5eec..124b80a1fb 100644
--- a/src/os2/filesystem.c
+++ b/src/os2/filesystem.c
@@ -350,3 +350,19 @@ int vlc_accept (int lfd, struct sockaddr *addr, socklen_t *alen, bool nonblock)
return -1;
}
+
+ssize_t vlc_send(int fd, const void *buf, size_t len, int flags)
+{
+ return send(fd, buf, len, flags);
+}
+
+ssize_t vlc_sendto(int fd, const void *buf, size_t len, int flags,
+ const struct sockaddr *dst, socklen_t dstlen)
+{
+ return sendto(fd, buf, len, flags, dst, dstlen);
+}
+
+ssize_t vlc_sendmsg(int fd, const struct msghdr *msg, int flags)
+{
+ return sendmsg(fd, msg, flags);
+}
More information about the vlc-commits
mailing list