Formats args according to specifications in fmt and writes the output to the file f.
Declared in <fmt/printf.h>
template<typename Char>
int
vfprintf(
FILE* f,
basic_string_view<Char> fmt,
vprintf_args<Char>::type args);
The number of characters written, or -1 on failure.
| Name | Description |
|---|---|
| f | The file to write the output to. |
| fmt | The format string. |
| args | The type-erased arguments to format. |