#include #include /* * @implemented */ size_t _mbstrlen( const char *string ) { char *s = (char *)string; size_t i = 0; while ( *s != 0 ) { if ( _ismbblead(*s) ) s++; s++; i++; } return i; }