MCPcopy Create free account
hub / github.com/GJDuck/e9patch / e9wcscasecmp

Function e9wcscasecmp

src/e9patch/e9loader_pe.cpp:302–307  ·  view source on GitHub ↗

* wcscasecmp() */

Source from the content-addressed store, hash-verified

300 * wcscasecmp()
301 */
302static int e9wcscasecmp(const wchar_t *s1, const wchar_t *s2)
303{
304 for (; e9towlower(*s1) == e9towlower(*s2) && *s1 != L'\0'; s1++, s2++)
305 ;
306 return (int)e9towlower(*s2) - (int)e9towlower(*s1);
307}
308
309/*
310 * strcmp()

Callers 1

e9loaderFunction · 0.85

Calls 1

e9towlowerFunction · 0.85

Tested by

no test coverage detected