Pushes a wide character back onto a file buffer to be read next #include <stdio.h> #include <wchar.h> wint_t ungetwc ( wint_t wc , FILE *fp ); The ungetwc( ) function is the wide-character version of ungetc( ), and works analogously, returning WEOF on failure or the wide character pushed back onto the file buffer if successful. ExampleSee the example for the corresponding byte-character function, ungetc( ). See Also |