|
Libft
42 Libft library documentation
|
#include "../includes/libft.h"
Include dependency graph for ft_strmapi.c:Go to the source code of this file.
Functions | |
| char * | ft_strmapi (char const *s, char(*f)(unsigned int, char)) |
| Maps a function over a string into a new allocated string. | |
| char * ft_strmapi | ( | char const * | s, |
| char(*)(unsigned int, char) | f | ||
| ) |
Maps a function over a string into a new allocated string.
| s | Input string. |
| f | Mapping callback receiving index and character. |
Definition at line 22 of file ft_strmapi.c.
References ft_strlen().
Here is the call graph for this function: