text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_striteri.c                                      :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: gvarys <gvarys@student.21-school.ru>       +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2021/10/12 10:54:57 by gvarys            #+#    #+#             */
  /*   Updated: 2021/10/15 12:54:24 by gvarys           ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	ft_striteri(char *s, void (*f)(unsigned int, char*))
  {
  	int	i;
  
  	i = 0;
  	while (s[i] != '\0')
  	{
  		f(i, &s[i]);
  		i++;
  	}
  }
  