This function is like strncmp , except that differences in case are ignored. This function is the similar to strcmp , except that no more than size characters are compared. In other words, if the two strings are the same in their first size characters, the return value is zero. Here are some examples showing the use of strcmp and strncmp . These two strings are the same.
Comparisons are case-sensitive.
Comparing a null character against a comma. The initial 5 characters are the same. The initial 5 characters are the same. Go to the first , previous , next , last section, table of contents .