text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_strequ.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: erli <marvin@42.fr>                        +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2018/11/08 11:22:40 by erli              #+#    #+#             */
  /*   Updated: 2018/11/09 13:28:56 by erli             ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include <string.h>
  
  int	ft_strequ(const char *s1, const char *s2)
  {
  	int i;
  
  	i = 0;
  	if (s1 == NULL && s2 == NULL)
  		return (1);
  	if (s1 == NULL || s2 == NULL)
  		return (0);
  	while (s1[i] == s2[i] && s1[i] != '\0')
  		i++;
  	if (s1[i] == s2[i])
  		return (1);
  	return (0);
  }
  