mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
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:
parent
3a9c01619f
commit
c2adfd0e2d
9 changed files with 51 additions and 2 deletions
|
@ -133,6 +133,11 @@ int getchar()
|
|||
return getc(stdin);
|
||||
}
|
||||
|
||||
int ungetc(int, FILE*)
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
int fputc(int ch, FILE* stream)
|
||||
{
|
||||
assert(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue