ReactOS 0.4.16-dev-2110-ge3521eb
wcsncmp.cpp File Reference
#include <string.h>
Include dependency graph for wcsncmp.cpp:

Go to the source code of this file.

Functions

int __cdecl wcsncmp (wchar_t const *a, wchar_t const *b, size_t count)
 

Function Documentation

◆ wcsncmp()

int __cdecl wcsncmp ( wchar_t const a,
wchar_t const b,
size_t  count 
)

Definition at line 28 of file wcsncmp.cpp.

33{
34 if (count == 0)
35 return 0;
36
37 while (--count != 0 && *a && *a == *b)
38 {
39 ++a;
40 ++b;
41 }
42
43 return static_cast<int>(*a - *b);
44}
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define a
Definition: ke_i.h:78
#define b
Definition: ke_i.h:79

Referenced by _LocalOpenPrinterHandle(), _LocalOpenXcvHandle(), _wcsncoll(), _wcsncoll_l(), _wsetlocale_nolock(), ConCfgReadUserSettings(), CreateFileW(), decode_source(), DEVENUM_IParseDisplayName_ParseDisplayName(), dialog_vcl_add_columns(), DisplayApplet(), DisplayLocalGroup(), DosStart(), env_parse_flags(), RunOnceExEntry::Exec(), find_compression(), find_xmlns(), FindProviderIndex(), get_locale_info(), get_olemisc_value(), get_root_key(), get_type_from_name(), GetSystemName(), GetTypeFromName(), GetVolumeNameForVolumeMountPointW(), GetVolumePathNameW(), HTTP_GetResponseHeaders(), InitSettings(), IopQueryBusDescription(), is_prefixed_disk(), is_xmlns_attr(), LocalOpenPrinter(), MONTHCAL_PaintTitle(), msvcrt_get_flags(), NdisReadConfiguration(), nfs41_MountConfig_ParseOptions(), OleLoadPicturePath(), OSK_SetKeys(), parse_data_type(), parse_file_header(), parse_mhtml_url(), parse_win31_line_state(), ParseCommandLine(), PathGetDriveNumberW(), PciAcpiFindRsdt(), PciGetIrqRoutingTableFromRegistry(), PosInArray(), process_state_property(), QuerySubstedDrive(), NtObjDirectory::read_directory(), RpcStringBindingParseW(), SetDeviceDetails(), start_debugger(), START_TEST(), str_to_number(), StrStrNW(), Test_CommandLine(), test_decodeUnicodeNameValue(), Test_File(), test_GetInterfaceName(), test_NameToStrConversionW_(), test_notify_generic_text_helper(), test_quoted_RDN(), test_Sid_Null(), test_winclassinfo(), TestDefaultCountry(), TestFileFsAttributeInformation(), TestUninitialized(), try_load_library_from_system_directory(), urlcache_entry_commit(), UrlCombineW(), UrlCompareW(), UrlGetLocationW(), VarTokenizeFormatString(), VTUTF8ChannelConsumeEscapeSequence(), WININET_GetAuthRealm(), wmain(), xml_name_cmp(), and xmlstr_cmp().