Formats args according to specifications in fmt and writes the output to the file f.

Synopsis

Declared in <fmt/printf.h>

template<typename Char>
int
vfprintf(
    FILE* f,
    basic_string_view<Char> fmt,
    vprintf_args<Char>::type args);

Return Value

The number of characters written, or ‐1 on failure.

Parameters

Name

Description

f

The file to write the output to.

fmt

The format string.

args

The type‐erased arguments to format.

Created with MrDocs