ft_memchr - kibotrel/42-Libft GitHub Wiki
void *ft_memchr(const void *s, int c, size_t n)
Description :
Analyzes the n
first bytes of memory area s
until the value c
is found.
Return Value :
Returns a pointer on c
if encountered else NULL
is returned.