![]() |
tgrekov-ft_printf
HIVE printf Feb 2024
|
Definition in file ft_striteri.c.
#include "libft.h"Go to the source code of this file.
Functions | |
| void | ft_striteri (char *s, void(*f)(unsigned int, char *)) |
Applies function f to each character of string s. | |
| void ft_striteri | ( | char * | s, |
| void(*)(unsigned int, char *) | f | ||
| ) |
Applies function f to each character of string s.
This function iterates from end to start
| [in,out] | s | Null-terminated string to iterate over |
| [in] | f | Pointer to a function where the first and second arguments are the index of the current character and a pointer to the current character |
Definition at line 31 of file ft_striteri.c.
References ft_strlen().