Skip to content

Commit

Permalink
file: prototypes for chdir() and getcwd()
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 1, 2024
1 parent 0d9503d commit 344c7ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/include/kernel/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 344c7ae

Please sign in to comment.