summaryrefslogtreecommitdiff
path: root/userland
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-02-07 22:26:19 +0100
committerAnton Kling <anton@kling.gg>2024-02-07 22:26:19 +0100
commit581ac7e072633f68deed5c5d343603c053895907 (patch)
tree3b8d6b994cf11888a352df7728cf1dd12be0fac3 /userland
parentadd659ce894352e967905ddf74683f28d2c2e44e (diff)
Minor fix
Diffstat (limited to 'userland')
-rw-r--r--userland/libc/sys/socket/listen.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/userland/libc/sys/socket/listen.c b/userland/libc/sys/socket/listen.c
index e69de29..a3bec10 100644
--- a/userland/libc/sys/socket/listen.c
+++ b/userland/libc/sys/socket/listen.c
@@ -0,0 +1,9 @@
+#include <sys/socket.h>
+#include <stdio.h>
+
+int listen(int socket, int backlog) {
+ (void)socket;
+ (void)backlog;
+ printf("TODO: Implement listen()\n");
+ return 0;
+}