text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_strchr.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: hlo <marvin@42.fr>                         +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2019/01/19 16:04:03 by hlo               #+#    #+#             */
  /*   Updated: 2019/01/19 17:27:20 by hlo              ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  char	*ft_strchr(const char *str, int c)
  {
  	int i;
  
  	i = 0;
  	while (str[i] != (char)c)
  		if (str[i++] == '\0')
  			return (NULL);
  	return ((char*)&str[i]);
  }
  