feat(userspace/libc): implement fstat()

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-02-20 02:12:02 +02:00
parent 08319ef4c7
commit c83c542f5b
2 changed files with 20 additions and 2 deletions

View File

@ -87,7 +87,7 @@ extern "C"
int chmod(const char *, mode_t);
int fchmod(int, mode_t);
int fchmodat(int, const char *, mode_t, int);
int fstat(int, struct stat *);
int fstat(int fildes, struct stat *buf);
int fstatat(int, const char *restrict, struct stat *restrict, int);
int futimens(int, const struct timespec[2]);
int lstat(const char *restrict, struct stat *restrict);