summaryrefslogtreecommitdiff
path: root/scalls/mkdir.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 22:13:19 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 23:36:34 +0200
commite05d72ba8f09866b768f3da7776b807072ed7b9b (patch)
treedc9a1ec45802df7c74ddc9fdd78436b23122e44a /scalls/mkdir.c
parent6458875860cde6421a06031702788d9969e0a5db (diff)
VFS/libc: Create a syscall for mkdir and add the function to libc
Diffstat (limited to 'scalls/mkdir.c')
-rw-r--r--scalls/mkdir.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scalls/mkdir.c b/scalls/mkdir.c
new file mode 100644
index 0000000..43f2424
--- /dev/null
+++ b/scalls/mkdir.c
@@ -0,0 +1,5 @@
+#include <scalls/mkdir.h>
+
+int syscall_mkdir(const char *path, int mode) {
+ return vfs_mkdir(path, mode);
+}