libft
Loading...
Searching...
No Matches
ft_striteri.c File Reference
#include "libft.h"

Go to the source code of this file.

Functions

void ft_striteri (char *s, void(*f)(unsigned int, char *))
 Calls a function for each char of a string.
 

Function Documentation

◆ ft_striteri()

void ft_striteri ( char *  s,
void(*)(unsigned int, char *)  f 
)

Calls a function for each char of a string.

Function f takes the index and address of a character in the string.

Parameters
sString
fFunction

Definition at line 15 of file ft_striteri.c.