summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/sys/socket.h2
-rw-r--r--userland/libc/include/syscall.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/userland/libc/include/sys/socket.h b/userland/libc/include/sys/socket.h
index 18402d0..c4f10e2 100644
--- a/userland/libc/include/sys/socket.h
+++ b/userland/libc/include/sys/socket.h
@@ -5,3 +5,5 @@
size_t recvfrom(int socket, void *buffer, size_t length, int flags,
struct sockaddr *address, socklen_t *address_len);
+size_t sendto(int socket, const void *message, size_t length, int flags,
+ const struct sockaddr *dest_addr, socklen_t dest_len);
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 7d84b8f..3af425d 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -33,6 +33,7 @@
#define SYS_UPTIME 25
#define SYS_MKDIR 26
#define SYS_RECVFROM 27
+#define SYS_SENDTO 28
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);