Kernel/LibC: add SYS_STAT and stat(), lstat()

This commit is contained in:
Bananymous
2023-06-05 14:36:17 +03:00
parent 69b94dad00
commit d1ad38c8d4
10 changed files with 75 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ namespace Kernel
BAN::ErrorOr<off_t> tell(int fd);
BAN::ErrorOr<void> fstat(int fd, struct stat*);
BAN::ErrorOr<void> stat(BAN::StringView path, struct stat*);
BAN::ErrorOr<void> stat(BAN::StringView path, struct stat*, int flags);
BAN::ErrorOr<void> mount(BAN::StringView source, BAN::StringView target);