Internationalization and localization tools


Character Manipulation Function

int _fgetchar(void);

wint_t _fgetwchar(void);

_TINT _fgettchar(void);.

Internationalization (I18n) Function Overview

The _fgetchar function returns the character read from stdin as an int, or it returns EOF to indicate an error or end of file.

_fgetwchar is the wide-character version of _fgetchar, returning a wide-character wint_t, or WEOF in the event of an error or end of file.

_fgettchar is the Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _fgetchar or _fgetwchar.

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

 

Lingoport internationalization and localization services and software