MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / stricmp

Function stricmp

tests/framework/src/doctest.cpp:217–223  ·  view source on GitHub ↗

case insensitive strcmp

Source from the content-addressed store, hash-verified

215
216 // case insensitive strcmp
217 int stricmp(const char* a, const char* b) {
218 for(;; a++, b++) {
219 const int d = tolower(*a) - tolower(*b);
220 if(d != 0 || !*a)
221 return d;
222 }
223 }
224
225 struct Endianness
226 {

Callers 1

compareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected