ft_strcmp - kibotrel/42-Libft GitHub Wiki

int	ft_strcmp(const char *s1, const char *s2)

Description :

Compares every characters in the given strings s1 and s2.

Return Value :

Returns 0 if both strings are identical or the result of *s1 - *s2, the first different character encountered.

Source code