aboutsummaryrefslogtreecommitdiff
path: root/libft.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-16 10:15:08 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-16 10:15:08 +0100
commitd22609e03717283e85a23587203af1b8b7d2fde2 (patch)
tree6c6eaf4a6b96f17fb6dac076558de72dd698e536 /libft.h
parentfbd1d450b0c2da394cbb02fd61ab75b2719bfb72 (diff)
downloadlibft-d22609e03717283e85a23587203af1b8b7d2fde2.tar.gz
libft-d22609e03717283e85a23587203af1b8b7d2fde2.tar.bz2
libft-d22609e03717283e85a23587203af1b8b7d2fde2.zip
Added ft_strcount
Diffstat (limited to 'libft.h')
-rw-r--r--libft.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libft.h b/libft.h
index 87b57c2..6e767fd 100644
--- a/libft.h
+++ b/libft.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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);