|
Libft
42 Libft library documentation
|
Go to the source code of this file.
Functions | |
| void | ft_striteri (char *s, void(*f)(unsigned int, char *)) |
| Applies a callback to each character of a string in place. | |
| void ft_striteri | ( | char * | s, |
| void(*)(unsigned int, char *) | f | ||
| ) |
Applies a callback to each character of a string in place.
The callback receives the character index and a pointer to the character.
| s | String to modify. |
| f | Callback applied to each character. |
Definition at line 21 of file ft_striteri.c.