libc: Stub out sscanf()

This commit is contained in:
apio 2022-10-23 11:16:36 +02:00
parent d82238b485
commit bd8825231a
2 changed files with 7 additions and 0 deletions

View File

@ -138,6 +138,8 @@ extern "C"
/* Writes at most max bytes of formatted output according to the string format to the string str. */
int vsnprintf(char* str, size_t max, const char* format, va_list ap);
int sscanf(const char*, const char*, ...); // Not implemented.
/* Writes the string str followed by a trailing newline to stdout. */
int puts(const char* str);

View File

@ -53,4 +53,9 @@ extern "C"
{
NOT_IMPLEMENTED("remove");
}
int sscanf(const char*, const char*, ...)
{
NOT_IMPLEMENTED("sscanf");
}
}