MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / dStricmp

Function dStricmp

engine/source/platformEmscripten/EmscriptenStrings.cpp:150–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150int dStricmp(const char *str1, const char *str2)
151{
152 char c1, c2;
153 while (1)
154 {
155 c1 = tolower(*str1++);
156 c2 = tolower(*str2++);
157 if (c1 < c2) return -1;
158 if (c1 > c2) return 1;
159 if (c1 == 0) return 0;
160 }
161}
162
163int dStrncmp(const char *str1, const char *str2, dsize_t len)
164{

Callers 4

MungeCaseFunction · 0.70
dAtobFunction · 0.70
EmscriptenMath.cppFile · 0.70
GetAxisTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected