Name

putwchar

Synopsis

Writes a wide character to standard output

#include <wchar.h>
wint_tputwchar( wchar_t c );

The macro putwchar() is similar to putwc(), but writes a wide character to stdout, and has no FILE pointer argument.

Example

See the example for getwchar() in this chapter.

Get C in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.