LibC: Implement various things to get GNU bc building and running.

Looks like that's all we needed, and bc now runs. :^)
This commit is contained in:
Andreas Kling 2019-02-03 04:32:31 +01:00
commit c2adfd0e2d
Notes: sideshowbarker 2024-07-19 15:53:10 +09:00
9 changed files with 51 additions and 2 deletions

View file

@ -133,6 +133,11 @@ int getchar()
return getc(stdin);
}
int ungetc(int, FILE*)
{
ASSERT_NOT_REACHED();
}
int fputc(int ch, FILE* stream)
{
assert(stream);