Writes formatted wide characters.
Standard C Library (libc.a)
#include <wchar.h> #include <stdarg.h>
int vwsprintf (wcs, Format, arg)
wchar_t * wcs;
const char * Format;
va_list arg;
The vwsprintf subroutine writes formatted wide characters. It is structured like the vsprintf subroutine with a few differences. One difference is that the wcs parameter specifies a wide character array into which the generated output is to be written, rather than a character array. The second difference is that the meaning of the S conversion specifier is always the same in the case where the # flag is specified. If copying takes place between objects that overlap, the behavior is undefined.
The vwsprintf subroutine returns the number of wide characters (not including the terminating wide character null) written into the wide character array and specified by the wcs parameter.
The vsprintf subroutine.
The printf command.
National Language Support Overview in AIX 5L Version 5.2 National Language Support Guide and Reference.