ReactOS 0.4.16-dev-927-g467dec4
wcspbrk.cpp File Reference
#include <string.h>
Include dependency graph for wcspbrk.cpp:

Go to the source code of this file.

Functions

wchar_t const *__cdecl wcspbrk (wchar_t const *const string, wchar_t const *const control)
 

Function Documentation

◆ wcspbrk()

wchar_t const *__cdecl wcspbrk ( wchar_t const *const  string,
wchar_t const *const  control 
)

Definition at line 13 of file wcspbrk.cpp.

17{
18 for (wchar_t const* string_it = string; *string_it; ++string_it)
19 {
20 for (wchar_t const* control_it = control; *control_it; ++control_it)
21 {
22 if (*control_it == *string_it)
23 {
24 return string_it;
25 }
26 }
27 }
28
29 return nullptr;
30}
Definition: dialog.c:52