ReactOS
0.4.15-dev-8614-gbc76250
Functions
mbslen.c File Reference
#include <mbstring.h>
Include dependency graph for mbslen.c:
Go to the source code of this file.
Functions
size_t
_mbslen
(
const
unsigned
char
*
str
)
Function Documentation
◆
_mbslen()
size_t
_mbslen
(
const
unsigned
char
*
str
)
Definition at line
17
of file
mbslen.c
.
18
{
19
size_t
len
= 0;
20
while
(*
str
)
21
{
22
if
(
_ismbblead
(*
str
))
23
{
24
str
++;
25
if
(!*
str
)
/* count only full chars */
26
break
;
27
}
28
str
++;
29
len
++;
30
}
31
return
len
;
32
}
len
GLenum GLsizei len
Definition:
glext.h:6722
_ismbblead
int __cdecl _ismbblead(unsigned int)
Definition:
ismblead.c:20
str
const WCHAR * str
Definition:
rpc_transport.c:2724
sdk
lib
crt
mbstring
mbslen.c
Generated on Sat Sep 7 2024 06:22:35 for ReactOS by
1.9.6