C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
mblen, _fmblen
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The mblen function returns the length in bytes of a valid
     multibyte character. It examines <count> or fewer bytes contained
     in <mbstr>. It will not examine more than MB_CUR_MAX bytes.
 
     The _fmblen function is a model-independent (large-model) form of
     the mblen function.
 
     Return Value
 
     If <mbstr> is not NULL, both mblen and _fmblen return the
     length, in bytes, of the multibyte character. If <mbstr> is NULL,
     or the object that it points to is the wide-character null
     character (L'\'), both functions return 0. If the object that
     <mbstr> points to does not form a valid multibyte character within
     the first <count> characters, both functions return -1.
                                    -♦-