Embedded TCP/IP stack  4.7.0

◆ fnet_strcmp()

fnet_int32_t fnet_strcmp ( const fnet_char_t str1,
const fnet_char_t str2 
)

Compares two strings.

Parameters
str1Pointer to the null-terminated string to be compared.
str2Pointer to the null-terminated string to be compared.
Returns
This function returns zero if two strings are identical, otherwise returns the difference between the first two differing characters.

This function compares the two strings str1 and str2, returning zero if they all match or the difference between the first two differing characters.


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