mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 15:22:21 +00:00
Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
This commit is contained in:
parent
0e213bbc00
commit
c501d8112c
18148 changed files with 0 additions and 860488 deletions
19
lib/sdk/crt/mbstring/mbstrlen.c
Normal file
19
lib/sdk/crt/mbstring/mbstrlen.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include <mbstring.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
* @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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue