char * strchr

char * strchr(const char *, int) __ATTR_PURE__

The strchr() function returns a pointer to the first occurrence of the character val in the string src.

Here "character" means "byte" - these functions do not work with wide or multi-byte characters.

Remember:

The strchr() function returns a pointer to the matched character or NULL if the character is not found.