LibC: add function declarations to sys/stat.h

This commit is contained in:
Bananymous
2023-05-11 01:48:33 +03:00
parent d9be14e1fb
commit 729ff267d7
5 changed files with 26 additions and 9 deletions

View File

@@ -46,8 +46,8 @@ namespace Kernel
BAN::ErrorOr<size_t> write(int fd, const void* buffer, size_t offset, size_t count);
BAN::ErrorOr<void> creat(BAN::StringView name, mode_t);
BAN::ErrorOr<void> fstat(int fd, stat*);
BAN::ErrorOr<void> stat(BAN::StringView path, stat*);
BAN::ErrorOr<void> fstat(int fd, struct stat*);
BAN::ErrorOr<void> stat(BAN::StringView path, struct stat*);
BAN::ErrorOr<void> mount(BAN::StringView source, BAN::StringView target);