diff --git a/libs/libc/include/stdio.h b/libs/libc/include/stdio.h index 853fd4df..eecd068b 100644 --- a/libs/libc/include/stdio.h +++ b/libs/libc/include/stdio.h @@ -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); diff --git a/libs/libc/src/stdio.cpp b/libs/libc/src/stdio.cpp index 6ead35d4..3f421801 100644 --- a/libs/libc/src/stdio.cpp +++ b/libs/libc/src/stdio.cpp @@ -53,4 +53,9 @@ extern "C" { NOT_IMPLEMENTED("remove"); } + + int sscanf(const char*, const char*, ...) + { + NOT_IMPLEMENTED("sscanf"); + } } \ No newline at end of file