From e05d72ba8f09866b768f3da7776b807072ed7b9b Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 23 Oct 2023 22:13:19 +0200 Subject: VFS/libc: Create a syscall for mkdir and add the function to libc --- scalls/mkdir.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scalls/mkdir.c (limited to 'scalls/mkdir.c') 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 + +int syscall_mkdir(const char *path, int mode) { + return vfs_mkdir(path, mode); +} -- cgit v1.2.3