MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImStrnicmp

Function ImStrnicmp

KBotExt/imgui/imgui.cpp:1734–1739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1732}
1733
1734int ImStrnicmp(const char* str1, const char* str2, size_t count)
1735{
1736 int d = 0;
1737 while (count > 0 && (d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; count--; }
1738 return d;
1739}
1740
1741void ImStrncpy(char* dst, const char* src, size_t count)
1742{

Callers

nothing calls this directly

Calls 1

ImToUpperFunction · 0.85

Tested by

no test coverage detected