Pushes a character back to the input stream, causing that character to be the next character read.
#include <stdio.h> int ungetc(int c FILE *stream);
#include <wchar.h>
wint_t ungetwc(win_t c, FILE *stream);
c
stream
Read the next character using getc or getchar. This function fails if it is called more than once before the next read.
ungetwc is the wide-character version of ungetc.
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_ungettc | ungetc | ungetwc |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 INtime 6.0 (for wide-character and generic text versions) |
intime/rt/include/stdio.h intime/rt/include/wchar.h intime/rt/include/tchar.h |
stdio.h wchar.h tchar.h |
clib.lib |