Everything

vswprintf


Outputs a variable parameter list to the specified storage area according to a format.

[Format]

#include <stdarg.h>

#include <wchar.h>

long vswprintf(wchar_t *restrict s, size_t n, const wchar_t *restrict control, va_list arg);

[Parameters]

s Pointer to storage area to which data is to be output

n Number of wide characters to be output

control Pointer to wide string indicating format

arg Parameter list

[Return values]

Normal: Number of characters converted

Abnormal: Negative value

[Remarks]

The vswprintf function is the wide-character version of the vsprintf function.