summaryrefslogtreecommitdiff
path: root/klibc/klibc/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/klibc/send.c')
-rw-r--r--klibc/klibc/send.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/klibc/klibc/send.c b/klibc/klibc/send.c
new file mode 100644
index 0000000000..8c53d0f764
--- /dev/null
+++ b/klibc/klibc/send.c
@@ -0,0 +1,11 @@
+/*
+ * send.c
+ */
+
+#include <stddef.h>
+#include <sys/socket.h>
+
+int send(int s, const void *buf, size_t len, unsigned int flags)
+{
+ return sendto(s, buf, len, flags, NULL, 0);
+}