MCPcopy Create free account
hub / github.com/ColinPitrat/caprice32 / caseInsensitiveCompare

Function caseInsensitiveCompare

src/stringutils.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 bool caseInsensitiveCompare(const std::string& str1, const std::string& str2)
63 {
64 return strncasecmp(str1.c_str(), str2.c_str(), std::max(str1.size(), str2.size())) < 0;
65 }
66}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected