Gets the length and determines the validity of a multibyte character.
#include <stdlib.h>
int mblen (const char *mbstr, size_t count);
Parameters
mbstr 
- A pointer to a sequence of bytes (a multibyte character) to check. 
 count 
- The number of bytes to check. 
 
Return Values
- The length, in bytes, of the multibyte character. 
 - 0 if mbstr is a null pointer or the object that it points to is the wide-character null. 
 - -1 if the object that mbstr points to does not form a valid multibyte character within the first count characters, up to MB_CUR_MAX. 
 
Requirements
| Versions | 
Defined in | 
Include | 
Link to | 
| INtime 3.0 | 
intime/rt/include/stdlib.h | 
stdlib.h | 
clib.lib | 
 
See Also
mbstowcs, mbtowc, wcstombs, wctomb