Add wrapper for sendto().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@125 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_libpthread.c b/vg_libpthread.c
index b230c7e..8d88efc 100644
--- a/vg_libpthread.c
+++ b/vg_libpthread.c
@@ -724,6 +724,15 @@
return __libc_recv(s, buf, len, flags);
}
+extern
+int __libc_sendto(int s, const void *msg, size_t len, int flags,
+ const struct sockaddr *to, socklen_t tolen);
+int sendto(int s, const void *msg, size_t len, int flags,
+ const struct sockaddr *to, socklen_t tolen)
+{
+ return __libc_sendto(s, msg, len, flags, to, tolen);
+}
+
/*--------------------------------------------------*/