Defined in header
wint_t ungetwc( wint_t ch, FILE *stream );
Puts the wide character
ch back to the given file stream.
Only one wide character pushback is guaranteed.
|ch||-||wide character to be put back|
|stream||-||file stream to put the wide character back to|
 Return value
ch is returned.
On failure WEOF is returned and the given stream remains unchanged.
- C11 standard (ISO/IEC 9899:2011):
- 220.127.116.11 The ungetwc function (p: 425-426)
- C99 standard (ISO/IEC 9899:1999):
- 18.104.22.168 The ungetwc function (p: 370-371)
 See also
| puts a character back into a file stream |
| gets a wide character from a file stream |
C++ documentation for ungetwc