ReactOS 0.4.16-dev-2104-gb84fa49
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

Referenced by _wcsnicoll_l(), _wsetlocale_nolock(), BuildWorkstationsList(), comment_line(), FILEDLG95_InitControls(), FILEDLG95_ValidatePathAction(), FindFirstFileExW(), CHString::FindOneOf(), get_lineW(), GetFileTitleW(), GetLongPathNameW(), GetShortPathNameW(), is_usable_drive_or_unc_root(), CSearchBar::OnSearchButtonClicked(), parse_url_element(), SdbpAddLayerMatches(), SetPermLayerState(), SQLValidDSNW(), StrPBrkW(), test_BadLetters(), UrlCombineW(), and wexpand().