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

@ -65,7 +65,7 @@ extern "C"
int chdir(const char *);
int chroot(const char *);
int chown(const char *, uid_t, gid_t);
int close(int);
int close(int fildes);
size_t confstr(int, char *, size_t);
char *crypt(const char *, const char *);
char *ctermid(char *);