Embedded TCP/IP stack  4.7.0

◆ fnet_strchr()

fnet_char_t* fnet_strchr ( const fnet_char_t str,
fnet_char_t  chr 
)

Locates first occurrence of a character in a string.

Parameters
strPointer to the null-terminated string to be analyzed.
chrCharacter to search for.
Returns
This function returns the pointer to the found character in str, or FNET_NULL if no such character is found.

This function finds the first occurrence of the character
chr in the string pointed to by str.


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