ungetwc

ungetwc

Defined in header <wchar.h>
wint_t ungetwc( wint_t ch, FILE *stream );
(since C95)

If ch does not equal WEOF, pushes the wide character ch into the input buffer associated with the stream stream in such a manner that subsequent read operation from stream will retrieve that wide character. The external device associated with the stream is not modified.

Stream repositioning operations fseek, fsetpos, and 登录查看完整内容