LibC: Add stubs for ungetc(), tcflush() and symlink()

This commit is contained in:
2024-08-05 01:48:24 +03:00
parent adadb10b15
commit 4d96ae56ac
3 changed files with 21 additions and 3 deletions

View File

@@ -705,8 +705,11 @@ char* tmpnam(char* storage)
return storage;
}
// TODO
int ungetc(int, FILE*);
int ungetc(int c, FILE* stream)
{
dwarnln("FIXME: ungetc({}, {})", c, stream);
ASSERT_NOT_REACHED();
}
int vfprintf(FILE* file, const char* format, va_list arguments)
{