1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:07:36 +00:00

LibCore: Add syscall wrapper for stat()

This commit is contained in:
Andreas Kling 2021-11-23 12:22:21 +01:00
parent 4a213869f2
commit 3db9979e40
2 changed files with 19 additions and 0 deletions

View file

@ -25,5 +25,6 @@ ErrorOr<void> munmap(void* address, size_t);
ErrorOr<int> open(StringView path, int options, ...);
ErrorOr<void> close(int fd);
ErrorOr<void> ftruncate(int fd, off_t length);
ErrorOr<struct stat> stat(StringView path);
}