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

Function dStricmp

engine/source/platformAndroid/AndroidStrings.cpp:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

AndroidMath.cppFile · 0.70
dAtobFunction · 0.70
_assignCommandKeysFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected