##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# putwchar

From cppreference.com
< c‎ | io

Defined in header `<wchar.h>` |  |
wint_t putwchar( wchar_t ch ); |  | (since C95)

Writes a wide character `ch` to `stdout`

### [edit] Parameters

ch | - | wide character to be written

### [edit] Return value

`ch` on success, WEOF on failure.

### [edit] References

- C11 standard (ISO/IEC 9899:2011):

  - 7.29.3.9 The putwchar function (p: 425)

- C99 standard (ISO/IEC 9899:1999):

  - 7.24.3.9 The putwchar function (p: 370)

### [edit] See also

putchar | writes a character to `stdout` (function) [edit]
fputwc putwc (C95) | writes a wide character to a file stream (function) [edit]
C++ documentation for putwchar

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/io/putwchar&oldid=77742"