mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
AK+Kernel+LibC: Add vdbgprintf()
This is like dbgprintf() except it takes a va_list instead of ...
This commit is contained in:
parent
2f1d596dd3
commit
3055f73d48
3 changed files with 17 additions and 4 deletions
|
@ -802,6 +802,11 @@ void rewind(FILE* stream)
|
|||
ASSERT(rc == 0);
|
||||
}
|
||||
|
||||
int vdbgprintf(const char* fmt, va_list ap)
|
||||
{
|
||||
return printf_internal([](char*&, char ch) { dbgputch(ch); }, nullptr, fmt, ap);
|
||||
}
|
||||
|
||||
int dbgprintf(const char* fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue