31 #ifdef HAVE_STRCASECMP
39 #if defined(HAVE_STRCASECMP)
41 #elif defined(HAVE_STRCMPI)
42 return !(
strcmpi)(first, second);
43 #elif defined(HAVE_STRICMP)
44 return !(
stricmp)(first, second);
46 while (*first && *second) {
47 if (toupper(*first) != toupper(*second)) {
53 return toupper(*first) == toupper(*second);
59 #if defined(HAVE_STRCASECMP)
61 #elif defined(HAVE_STRCMPI)
62 return !strncmpi(first, second, max);
63 #elif defined(HAVE_STRICMP)
64 return !
strnicmp(first, second, max);
66 while (*first && *second && max) {
67 if (toupper(*first) != toupper(*second)) {
77 return toupper(*first) == toupper(*second);
103 while (n-- != 0 && *d !=
'\0')
109 return(dlen + strlen(s));
119 return(dlen + (s - src));
int curl_strequal(const char *first, const char *second)
size_t Curl_strlcat(char *dst, const char *src, size_t siz)
int curl_strnequal(const char *first, const char *second, size_t max)