summaryrefslogtreecommitdiff
path: root/lib/libc/socket/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/socket/socket.c')
-rw-r--r--lib/libc/socket/socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/socket/socket.c b/lib/libc/socket/socket.c
new file mode 100644
index 00000000..34b5d67b
--- /dev/null
+++ b/lib/libc/socket/socket.c
@@ -0,0 +1,6 @@
+#include <syscall.h>
+
+int socket(int domain, int type, int protocol)
+{
+ return syscall(socket, domain, type, protocol);
+}