Created
December 7, 2015 17:17
-
-
Save qleguennec/99287d61f6039545c701 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ************************************************************************** */ | |
| /* */ | |
| /* ::: :::::::: */ | |
| /* ft_striter.c :+: :+: :+: */ | |
| /* +:+ +:+ +:+ */ | |
| /* By: qle-guen <[email protected]> +#+ +:+ +#+ */ | |
| /* +#+#+#+#+#+ +#+ */ | |
| /* Created: 2015/11/25 07:57:08 by qle-guen #+# #+# */ | |
| /* Updated: 2015/11/25 08:01:54 by qle-guen ### ########.fr */ | |
| /* */ | |
| /* ************************************************************************** */ | |
| #include <libft.h> | |
| void ft_striter(char *s, void (*f) (char *s)) | |
| { | |
| ft_striteri(s, lambda(void, (unsigned int i, char *s) | |
| { | |
| (void) i; | |
| f(s); | |
| })); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment