ft_strchr - kibotrel/42-Libft GitHub Wiki

char	*ft_strchr(const char *s, int c)

Description :

Finds the first occurrence of the ASCII code c in the string s.

Return Value :

Returns the string pointer s starting at the first ASCII code c encountered.

Source code