Name
wprintf
Synopsis
Prints formatted wide-character string output
#include <wchar.h> intwprintf( const wchar_t * restrictformat, ... );
The wprintf() function is
similar to printf(), except that
its format string argument is a string of wide characters, and it
prints wide character output to stdout.
Example
See the examples for iswalnum() and
wscanf() in this
chapter.
See Also
swprintf() and
fwprintf(), declared
in stdio.h and wchar.h; vwprintf(), vfwprintf(), and vswprintf(), declared in stdarg.h; printf(), fprintf(), sprintf(), and
snprintf(), declared
in stdio.h; vprintf(), vfprintf(), vsprintf(), and vsnprintf(), declared in stdarg.h; the wscanf() input
functions. Argument conversion in the printf() family of
functions is described in detail under printf() in this
chapter.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access