_mbslen
- Updated2023-02-21
- 1 minute(s) read
_mbslen
size_t _mbslen (const char string[]);
Purpose
Returns the length of the specified string up to, but not including, the terminating ASCII NUL byte.
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 |
string | const char [] | Contains a pointer to the NUL-terminated string, the length of which is computed by this function. |
Return Value
Name | Type | Description |
length | size_t | Contains the resulting string length in characters computed by the function. _mbslen returns the number of characters that precede the terminating ASCII NUL byte. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later