-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathft_striter.c
19 lines (17 loc) · 990 Bytes
/
ft_striter.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_striter.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tbenoist <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/26 14:02:52 by tbenoist #+# #+# */
/* Updated: 2015/12/02 14:04:16 by tbenoist ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_striter(char *s, void (*f)(char *))
{
while (*s != '\0')
f(s++);
}