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):
- 22.214.171.124 The ungetwc function (p: 425-426)
- C99 standard (ISO/IEC 9899:1999):
- 126.96.36.199 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