userspace/libc: implement close() & dirfd()

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-01-27 23:58:54 +02:00
parent c2412fe710
commit 48067d8f58
4 changed files with 14 additions and 4 deletions

View File

@ -60,7 +60,7 @@ extern "C"
int alphasort(const struct dirent **, const struct dirent **);
int closedir(DIR *dirp);
int dirfd(DIR *);
int dirfd(DIR *dirp);
DIR *fdopendir(int);
DIR *opendir(const char *);
ssize_t posix_getdents(int, void *, size_t, int);