aboutsummaryrefslogtreecommitdiff
path: root/include/libft_str.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-10 04:24:29 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-10 04:24:29 +0100
commitfc457992114e71989e5cdeab452bc054a400a397 (patch)
tree4078af0485fe91f3bbf56984c2a3f171ff2f51de /include/libft_str.h
parent4800d3ca472058f0161970aa55c6debb453e5d00 (diff)
downloadlibft-fc457992114e71989e5cdeab452bc054a400a397.tar.gz
libft-fc457992114e71989e5cdeab452bc054a400a397.tar.bz2
libft-fc457992114e71989e5cdeab452bc054a400a397.zip
Fixing ft_strcmp, Added ft_strcasecmp, ft_strncasecmp
Diffstat (limited to 'include/libft_str.h')
-rw-r--r--include/libft_str.h7
1 files changed, 6 insertions, 1 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 <stddef.h>
+# 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 ?