| 12345678910111213141516171819202122232425 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_striter.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2015/11/25 18:21:53 by bchanot #+# #+# */
- /* Updated: 2017/11/21 16:35:15 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- void ft_striter(char *s, void (*f)(char *))
- {
- if (s && f)
- {
- while (*s)
- {
- f(&(*s));
- s++;
- }
- }
- }
|