libc: Stub out scanf()

This commit is contained in:
apio 2022-11-06 20:47:07 +01:00
parent c9e20fd38e
commit 78ee6ce34a
2 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,7 @@ extern "C"
int sscanf(const char*, const char*, ...); // Not implemented.
int fscanf(FILE*, const char*, ...); // Not implemented.
int scanf(const char*, ...); // Not implemented.
/* Writes the string str followed by a trailing newline to stdout. */
int puts(const char* str);

View File

@ -64,6 +64,11 @@ extern "C"
NOT_IMPLEMENTED("fscanf");
}
int scanf(const char*, ...)
{
NOT_IMPLEMENTED("scanf");
}
int rename(const char*, const char*)
{
NOT_IMPLEMENTED("rename");