1 2 3 4 5 6 7 8 9 10 11
void ft_striteri(char *s, void (*f)(unsigned int, char *)) { unsigned int i; i = 0; while (s[i]) { (*f)(i, &s[i]); i++; } }