Embedded TCP/IP stack: fnet_strchr

FNET

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-2018 by Andrey Butok. http://fnet.sourceforge.net