Locale-Sensitive C/C++ String Operation Function
char *_strinc(const char *current);
unsigned char *_mbsinc(const unsigned char *current);
wchar_t *_wcsinc(const wchar_t *current);
_TXCHAR *_tcsinc(const _TXCHAR *current);
Internationalization (I18n) Function Overview
Returns a pointer to the character immediately following the character at current .
Use _wcsinc or _mbsinc for wide character and multibyte equivalents.
_tcsinc is the Windows-only Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _mbsinc or _wcsinc .
I18n Issues
Use the appropriate version of the function as required for internationalization support, noting the following:
For Windows MBCS platforms, ensure that the multibyte code page is set properly, as _mbsinc depends on it. By default, the multibyte code page is set to the system-default ANSI code page obtained from the operating system at program startup. Use _getmbcp and _setmbcp to query or change the current multibyte code page, respectively.
Recommended Function Replacements
Locale-Sensitive C/C++
String Operation Functions
|