Share via


_mbsinc, _strinc, _wcsinc

unsignedchar*_mbsinc(constunsignedchar*current);

Routine Required Header Compatibility
_mbsinc <mbstring.h> Win 95, Win NT
_strinc <tchar.h> Win 95, Win NT
_wcsinc <tchar.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value

Each of these routines returns a pointer to the character that immediately follows current.

Parameter

current

Character pointer

Remarks

The _mbsinc function returns a pointer to the first byte of the multibyte character that immediately follows current. _mbsinc recognizes multibyte-character sequences according to the multibyte code page currently in use.

The generic-text function _tcsinc, defined in TCHAR.H, maps to _mbsinc if _MBCS has been defined, or to _wcsinc if _UNICODE has been defined. Otherwise _tcsinc maps to _strinc. _strinc and _wcsinc are single-byte character and wide-character versions of _mbsinc. _strinc and _wcsinc are provided only for this mapping and should not be used otherwise. For more information, see Using Generic-Text Mappings and Appendix B, Generic-Text Mappings.

String Manipulation Routines

See Also   _mbsdec, _mbsnextc, _mbsninc