Name

vswprintf function — Writes formatted data to a wide string

Synopsis

int vswprintf(wchar_t* dst, size_t n, const wchar_t* format, va_list arg)

The vswprintf function is similar to vsprintf in <cstdio>, except it stores its output in a wide string, dst, and the format parameter is a wide string. Another difference is that no more than n wide characters are written to dst, including a terminating null character.