1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

LibC: Implement vscanf

libstdc++v3 checks whether vscanf is available and only then makes C99
stdio functions available in the std namespace.
This commit is contained in:
Gunnar Beutner 2021-05-08 20:35:25 +02:00 committed by Andreas Kling
parent e6747fefa7
commit 4c6a91d0c0
2 changed files with 6 additions and 0 deletions

View file

@ -1257,6 +1257,11 @@ int vfscanf(FILE* stream, const char* fmt, va_list ap)
return vsscanf(buffer, fmt, ap);
}
int vscanf(const char* fmt, va_list ap)
{
return vfscanf(stdin, fmt, ap);
}
void flockfile([[maybe_unused]] FILE* filehandle)
{
dbgln("FIXME: Implement flockfile()");