aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-10 05:24:41 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-10 05:24:41 +0100
commitfe15975761f2dcb52d360a521c5ef912d66d5e1c (patch)
treea94148816bc4f826eab9b18c9010d922d7c280c9 /include
parent8e3c9342ce7e4932c4a59c0823af63d19ade8046 (diff)
downloadlibft-fe15975761f2dcb52d360a521c5ef912d66d5e1c.tar.gz
libft-fe15975761f2dcb52d360a521c5ef912d66d5e1c.tar.bz2
libft-fe15975761f2dcb52d360a521c5ef912d66d5e1c.zip
Added ft_reverse, ft_isblank, ft_strnlen, ft_strpbrk, ft_strsep
Diffstat (limited to 'include')
-rw-r--r--include/libft_algo.h3
-rw-r--r--include/libft_ctype.h3
-rw-r--r--include/libft_str.h5
3 files changed, 8 insertions, 3 deletions
diff --git a/include/libft_algo.h b/include/libft_algo.h
index 14496dd..65308b8 100644
--- a/include/libft_algo.h
+++ b/include/libft_algo.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/19 07:22:57 by cacharle #+# #+# */
-/* Updated: 2020/02/10 03:04:17 by cacharle ### ########.fr */
+/* Updated: 2020/02/10 05:17:39 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -42,5 +42,6 @@ int ft_mergesort(void *base, size_t nel, size_t width,
int (*compar)(const void *, const void *));
int ft_heapsort(void *base, size_t nel, size_t width,
int (*compar)(const void *, const void *));
+void ft_reverse(void *base, size_t nel, size_t width);
#endif
diff --git a/include/libft_ctype.h b/include/libft_ctype.h
index 85e0e05..ad42c64 100644
--- a/include/libft_ctype.h
+++ b/include/libft_ctype.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:35:31 by cacharle #+# #+# */
-/* Updated: 2020/01/31 10:36:34 by cacharle ### ########.fr */
+/* Updated: 2020/02/10 05:18:30 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -23,6 +23,7 @@ int ft_isalnum(int c);
int ft_isascii(int c);
int ft_isprint(int c);
int ft_isspace(int c);
+int ft_isblank(int c);
/*
** conversion
diff --git a/include/libft_str.h b/include/libft_str.h
index 80fb09f..e3faeab 100644
--- a/include/libft_str.h
+++ b/include/libft_str.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:39:22 by cacharle #+# #+# */
-/* Updated: 2020/02/10 04:32:44 by cacharle ### ########.fr */
+/* Updated: 2020/02/10 05:24:00 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -57,6 +57,9 @@ int ft_strcasecmp(const char *s1, const char *s2);
int ft_strncasecmp(const char *s1, const char *s2, size_t n);
size_t ft_strspn(const char *s, const char *charset);
size_t ft_strcspn(const char *s, const char *charset);
+char *ft_strpbrk(const char *s, const char *charset);
+char *ft_strsep(char **stringp, const char *delim);
+size_t ft_strnlen(const char *s, size_t maxlen);
/*
** bloat ?