swprintf - print formatted wide-character output
#include <stdio.h> #include <wchar.h> int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...);
Refer to fwprintf().