From fc457992114e71989e5cdeab452bc054a400a397 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 10 Feb 2020 04:24:29 +0100 Subject: Fixing ft_strcmp, Added ft_strcasecmp, ft_strncasecmp --- include/libft_str.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/libft_str.h') diff --git a/include/libft_str.h b/include/libft_str.h index e44c995..ba0b203 100644 --- a/include/libft_str.h +++ b/include/libft_str.h @@ -6,13 +6,16 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:39:22 by cacharle #+# #+# */ -/* Updated: 2020/01/31 10:39:26 by cacharle ### ########.fr */ +/* Updated: 2020/02/10 04:23:06 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef LIBFT_STR_H # define LIBFT_STR_H +# include +# include "libft_ctype.h" + /* ** std */ @@ -50,6 +53,8 @@ int ft_strcount(char *str, char c); char *ft_itoa(int n); int ft_strict_atoi(const char *s); long ft_strtol(const char *s, char **endptr, int base); +int strcasecmp(const char *s1, const char *s2); +int strncasecmp(const char *s1, const char *s2, size_t n); /* ** bloat ? -- cgit