diff options
author | Anton Kling <anton@kling.gg> | 2023-11-15 02:44:45 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-15 21:40:13 +0100 |
commit | e22e493940266e0aa9be2bf58df1821a3539e19b (patch) | |
tree | 64d3516642fae984b5f801db3348d884f661731d /kernel/scalls/chdir.c | |
parent | 6747f9407a061684c2fba837541c254f48bfcff0 (diff) |
Kernel/LibC: Add chdir function and syscall
Diffstat (limited to 'kernel/scalls/chdir.c')
-rw-r--r-- | kernel/scalls/chdir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/scalls/chdir.c b/kernel/scalls/chdir.c new file mode 100644 index 0000000..ec6ba92 --- /dev/null +++ b/kernel/scalls/chdir.c @@ -0,0 +1,6 @@ +#include <fs/vfs.h> +#include <scalls/chdir.h> + +int syscall_chdir(const char *path) { + return vfs_chdir(path); +} |