From d22609e03717283e85a23587203af1b8b7d2fde2 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 16 Jan 2020 10:15:08 +0100 Subject: Added ft_strcount --- libft.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libft.h') diff --git a/libft.h b/libft.h index 87b57c2..6e767fd 100644 --- a/libft.h +++ b/libft.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:45:02 by cacharle #+# #+# */ -/* Updated: 2019/10/17 09:08:31 by cacharle ### ########.fr */ +/* Updated: 2020/01/15 14:46:50 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -48,6 +48,7 @@ char *ft_strnstr(const char *haystack, const char *needle, size_t len); int ft_strcmp(const char *s1, const char *s2); int ft_strncmp(const char *s1, const char *s2, size_t n); +int ft_strcount(char *str, char c); int ft_atoi(const char *nptr); int ft_isalpha(int c); int ft_isdigit(int c); -- cgit