git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003091401
[reactos.git]
/
lib
/
crtdll
/
mbstring
/
mbstrlen.c
1
#include <msvcrt/mbstring.h>
2
#include <msvcrt/stdlib.h>
3
4
/*
5
* @implemented
6
*/
7
size_t _mbstrlen( const char *string )
8
{
9
char *s = (char *)string;
10
size_t i = 0;
11
12
while ( *s != 0 ) {
13
if ( _ismbblead(*s) )
14
s++;
15
s++;
16
i++;
17
}
18
return i;
19
}