_mbsinc, _strinc, _wcsinc

来源:互联网 发布:c语言函数大全下载 编辑:程序博客网 时间:2024/06/04 08:48

_mbsinc, _strinc, _wcsinc

unsigned char *_mbsinc( const unsigned char *current );

RoutineRequired HeaderCompatibility_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.LIBSingle thread static library, retail versionLIBCMT.LIBMultithread static library, retail versionMSVCRT.LIBImport 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

原创粉丝点击