9 if (
'A' <= c && c <=
'Z') {
25pm_strncasecmp(
const uint8_t *string1,
const uint8_t *string2,
size_t length) {
29 while (offset < length && string1[offset] !=
'\0') {
30 if (string2[offset] ==
'\0')
return string1[offset];
31 if ((difference = pm_tolower(string1[offset]) - pm_tolower(string2[offset])) != 0)
return difference;
A custom strncasecmp implementation.