ungetwc


ungetwc

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.

Example

See the example for the corresponding byte-character function, ungetc( ).

See Also

getwc( ), getc( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net