rt/libft/ft_strequ.c

21 lines
1019 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strequ.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: scebula <scebula@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/26 10:53:27 by scebula #+# #+# */
/* Updated: 2015/11/26 10:54:39 by scebula ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_strequ(char const *s1, char const *s2)
{
if (ft_strcmp(s1, s2) == 0)
return (1);
return (0);
}