ft_strnequ - kibotrel/42-Libft GitHub Wiki
int ft_strnequ(char const *s1, char const *s2, size_t n)
Description :
Checks if the given strings s1
and s2
are identical until n
characters.
Return Value :
Returns 1
if both strings are identical or 0
if they are different (0
is also returned when string's end happens before n
checks).