From 344c7ae40c84c40b84021f6a71eb28b9789a2989 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Tue, 1 Oct 2024 14:25:19 -0400 Subject: [PATCH] file: prototypes for chdir() and getcwd() --- src/include/kernel/file.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/kernel/file.h b/src/include/kernel/file.h index 08ca147..c81519c 100644 --- a/src/include/kernel/file.h +++ b/src/include/kernel/file.h @@ -43,3 +43,6 @@ int mount(Thread *, uint64_t, const char *, const char *, const char *, int); ssize_t readFile(Thread *, uint64_t, IODescriptor *, void *, size_t); ssize_t writeFile(Thread *, uint64_t, IODescriptor *, const void *, size_t); int closeFile(Thread *, int); + +int chdir(Thread *, uint16_t, const char *); +char *getcwd(Thread *, char *, size_t);