/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strnequ.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: scebula +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/26 10:55:16 by scebula #+# #+# */ /* Updated: 2015/11/26 10:56:03 by scebula ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_strnequ(char const *s1, char const *s2, size_t n) { if (ft_strncmp(s1, s2, n) == 0) return (1); return (0); }