Defined in header <wchar.h> | ||
|---|---|---|
wint_t fputwc( wchar_t ch, FILE *stream ); | (since C95) | |
wint_t putwc( wchar_t ch, FILE *stream ); | (since C95) |
Writes a wide character ch to the given output stream stream. putwc() may be implemented as a macro and may evaluate stream more than once.
| ch | - | wide character to be written |
| stream | - | the output stream |
ch on success, WEOF on failure. If an encoding error occurs, errno is set to EILSEQ.
| writes a character to a file stream (function) |
|
|
(C95) | writes a wide string to a file stream (function) |
|
(C95) | gets a wide character from a file stream (function) |
C++ documentation for fputwc |
|
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/io/fputwc