Character Manipulation Function
int fputc(int c, FILE* stream);
wint_t fputwc(wchar_t c, FILE* stream);
_TINT _fputtc(TCHAR c, FILE* stream);
Internationalization (I18n) Function Overview
The fputc function writes a character to stream and returns the character, if successful; else EOF .
fputwc is the wide-character version of fputc ; its parameter and return are wide characters, and its error return is WEOF .
_fputtc is the Windows-only Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either fputc or fputwc .
I18n Issues
Use the appropriate version of the function as required for internationalization support.
Also, make sure that the stream is oriented correctly; possibly with a call to fwide.
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
|