feat(userspace/libc): implement getchar() and getc()

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-02-19 21:57:51 +02:00
parent 0238f62894
commit b5fce27037
2 changed files with 11 additions and 3 deletions

View File

@ -115,7 +115,7 @@ extern "C"
int ftrylockfile(FILE *);
void funlockfile(FILE *);
size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream);
int getc(FILE *);
int getc(FILE *stream);
int getchar(void);
int getc_unlocked(FILE *);
int getchar_unlocked(void);