text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_strcmp.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: rpapagna <rpapagna@student.42.fr>          +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2018/09/26 14:29:07 by rpapagna          #+#    #+#             */
  /*   Updated: 2022/03/13 17:50:12 by rpapagna         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  int	ft_strcmp(const char *s1, const char *s2)
  {
  	int		i;
  
  	i = 0;
  	while (s1[i] != '\0' && s1[i] == s2[i])
  		i++;
  	return ((unsigned char)s1[i] - (unsigned char)s2[i]);
  }
  