Admin Production ni-theme
Current Publication

_mbsbtype

LabWindows/CVI

_mbsbtype

int _mbsbtype (const char context[], size_t byteOffset);

Purpose

Determines the type of the byte in the context string at the given offset.

Refer to the Programming for Multibyte Character Sets in LabWindows/CVI topic for information about working with multibyte character sets.

Parameters

Input
Name Type Description
context const char [] Contains the context string.
byteOffset size_t Specifies the offset of the byte in the context string.

Return Value

Name Type Description
byteType int Contains the type of the tested byte. The return values are as follows:
  • _MBC_SINGLE—A single byte character
  • _MBC_LEAD—The lead byte of a multibyte character
  • _MBC_TRAIL—The trail byte of a multibyte character
  • _MBC_ILLEGAL—An illegal byte value or an invalid input parameter

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later