Libft
 
Loading...
Searching...
No Matches
ft_strmapi.c File Reference
#include "libft.h"
#include <stddef.h>
#include <stdlib.h>
Include dependency graph for ft_strmapi.c:

Functions

char * ft_strmapi (char const *s, char(*f)(unsigned int, char))
 Apply the function ’f’ to each character of the string ’s’, passing its index as first argument and the character itself as second argument.