23 lines
993 B
C
23 lines
993 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_striter.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: scebula <scebula@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2015/11/26 10:38:31 by scebula #+# #+# */
|
|
/* Updated: 2015/12/03 21:49:48 by scebula ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_striter(char *s, void (*f)(char *))
|
|
{
|
|
while (*s)
|
|
{
|
|
f(s);
|
|
s++;
|
|
}
|
|
}
|