Character Manipulation Functions
int _ungetch(int c);
wint_t _ungetwch(wint_t c);
_TINT _ungettch(_TINT c);
Internationalization (I18n) Function Overview
The _ungetch function pushes the character c back to the console,
causing c to be the next character read by _getch or _getche .
If successful, _ungetch returns c ; otherwise, it returns EOF .
_ungetwch is the wide-character version of _ungetch ; its argument and return are wide characters.
In the event of an error, _ungetwch returns WEOF .
_ungettch is the Windows-only Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _ungetch or _ungetwch .
I18n Issues
Use the appropriate version of the function as required for internationalization support.
See Character I/O for a discussion on non-ASCII character
input/output in an internationalized application.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Character Manipulation Functions
|