Description:
Determine whether the first "
n"
characters of two strings are the same, ignoring
distinctions between upper and lowercase letters.
Invocation
int chrSimlrN( const char
∗str1, const
char ∗str2,
size_t n )
Returned Value
Returned as non-zero if the two strings are the same
Parameters :
str1
Pointer to a null terminated string holding the first string.
str2
Pointer to a null terminated
string holding the second string.
n
The number of characters that must match at the
start of each string. If the length of either string is less than "
n"
, zero will be returned.
Copyright © 2018 East Asian Observatory