The strncasecmp() function performs a case-insensitive string comparison test of not more than a specified number of characters.
strncasecmp()
extern _ARMABI int strncasecmp(const char * s1, const char * s2, size_t n) __attribute__((__nonnull__(1,2)));