ReactOS
0.4.16-dev-1946-g52006dd
Functions
wcscspn.cpp File Reference
#include <string.h>
Include dependency graph for wcscspn.cpp:
Go to the source code of this file.
Functions
size_t
__cdecl
wcscspn
(
wchar_t
const
*
const
string
,
wchar_t
const
*
const
control
)
Function Documentation
◆
wcscspn()
size_t
__cdecl
wcscspn
(
wchar_t
const
*
const
string
,
wchar_t
const
*
const
control
)
Definition at line
18
of file
wcscspn.cpp
.
22
{
23
wchar_t
const
* string_it =
string
;
24
for
(; *string_it; ++string_it)
25
{
26
for
(
wchar_t
const
* control_it =
control
; *control_it; ++control_it)
27
{
28
if
(*string_it == *control_it)
29
{
30
return
static_cast<
size_t
>
(string_it -
string
);
31
}
32
}
33
}
34
35
return
static_cast<
size_t
>
(string_it -
string
);
36
}
string
char string[160]
Definition:
util.h:11
control
Definition:
dialog.c:52
sdk
lib
ucrt
string
wcscspn.cpp
Generated on Thu Dec 4 2025 06:26:50 for ReactOS by
1.9.6