Embedded TCP/IP stack  4.7.0

◆ fnet_strcasecmp()

fnet_int32_t fnet_strcasecmp ( const fnet_char_t str1,
const fnet_char_t str2 
)

Compares two strings ignoring case.

Parameters
str1Pointer to the null-terminated string to be compared.
str2Pointer to the null-terminated string to be compared.
Returns
This function returns an integer less than, equal to, or greater than zero if str1 is found, respectively, to be less than, to match, or be greater than str2.

This function compares the two strings str1 and str2, ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if str1 is found, respectively, to be less than, to match, or be greater than str2.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net