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:
parent
e6747fefa7
commit
4c6a91d0c0
2 changed files with 6 additions and 0 deletions
|
@ -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()");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue