From 70e3b4133b89e4e77a67139ccaa37322e2507e49 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 1 Sep 2020 18:28:12 +0200 Subject: Added quotes multiline --- libft/include/libft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libft/include/libft.h') diff --git a/libft/include/libft.h b/libft/include/libft.h index 96615fd..68b8d9b 100644 --- a/libft/include/libft.h +++ b/libft/include/libft.h @@ -137,6 +137,7 @@ uint8_t ft_uintlen(unsigned long n); uint8_t ft_uintlen_base(unsigned long n, char *base); int ft_memcmp(const void *s1, const void *s2, size_t n); t_bool ft_isspace(int c); +t_bool ft_iswhitespace(int c); t_bool ft_ischarset(const char *charset, int c); t_bool ft_isupper(int c); t_bool ft_islower(int c); -- cgit v1.2.3 From 89c27ba72e11665823cba7023f694a8639891ccb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 10 Sep 2020 19:53:00 +0200 Subject: New libft func, cool stuff --- libft/include/libft.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libft/include/libft.h') diff --git a/libft/include/libft.h b/libft/include/libft.h index 68b8d9b..c31482c 100644 --- a/libft/include/libft.h +++ b/libft/include/libft.h @@ -15,7 +15,7 @@ #include #include -#include +#include # define FT_MIN_HEX_BASE "0123456789abcdef" # define FT_MAJ_HEX_BASE "0123456789ABCDEF" @@ -123,6 +123,9 @@ char *ft_nstr(size_t size); char *ft_strsubst(char *str, const char *pattern, const char *subst); +int8_t ft_strsubst_s(char *str, + const char *pattern, + const char *subst); char *ft_strtok_r(char *s, const char *delim, char **last); char *ft_strtok(char *s, const char *delim); char **ft_split(const char *s, char c); -- cgit v1.2.3