chsvlib
chsv helper source code

◆ vfPrintfW()

int Chusov::String::vfPrintfW ( ::FILE *restrict  stream,
const wchar_t *restrict  pszFormat,
va_list  ap 
)
noexcept

Loads data from the locations, defined by ap, converts it to wide string equivalents and writes the results to a file stream.

Parameters
[in]streamis an output file stream to write to.
[in]pszFormatis a pointer to a zero terminated wide string defining how to interpret data, passed as additional parameters, during the construction of the output. See PrintfW for the definition of the format lexemes.
[in]apis a variable argument list containing data used to construct an output string according to the format.
Returns
On success the function returns a number of characters of the output not counting the terminating zero. If an error occurs the function returns a negative value.

The function implements the behaviour of the standard C vfwprintf function with full accordance to ISO/IEC 9899:1999 (aka C99) and ISO/IEC 9899:2011 (aka C11) with some standard-compatible extensions specific to the chsvlib library. See PrintfW for the details.

See also
PrintfW;
vfPrintfA;
vfPrintfW_s.