The strncasecmp function is case-insensitive. The returned lexicographic difference reflects a conversion to lowercase. The strncasecmp function is similar to the strcasecmp function, but also compares size. If the size specified by n is read before a NULL, the comparison stops. The strcasecmp function works for 7-bit ASCII compares only. Do not use this function for internationalized applications.