summaryrefslogtreecommitdiffstats
path: root/libft/include
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 14:28:35 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 14:28:35 +0200
commitd1ee0c0e55f75432da026f5e0e7cf15cee6918da (patch)
treef0ba3ebf5f6ba8d2ce093938f36602d64e7b43ff /libft/include
parentUnset is fine (diff)
download42-minishell-d1ee0c0e55f75432da026f5e0e7cf15cee6918da.tar.gz
42-minishell-d1ee0c0e55f75432da026f5e0e7cf15cee6918da.tar.bz2
42-minishell-d1ee0c0e55f75432da026f5e0e7cf15cee6918da.tar.xz
42-minishell-d1ee0c0e55f75432da026f5e0e7cf15cee6918da.tar.zst
42-minishell-d1ee0c0e55f75432da026f5e0e7cf15cee6918da.zip
New libft function strclen, bug fix
Diffstat (limited to 'libft/include')
-rw-r--r--libft/include/libft.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libft/include/libft.h b/libft/include/libft.h
index 6513693..0cd5ed1 100644
--- a/libft/include/libft.h
+++ b/libft/include/libft.h
@@ -148,9 +148,10 @@ int ft_strcmp(const char *s1, const char *s2);
long ft_memlchr(const void *s, int c, size_t n);
long ft_strlchr(const char *s, int c);
size_t ft_strlen(const char *s);
+size_t ft_strclen(const char *s, int c);
+size_t ft_strnlen(const char *s, size_t size);
size_t ft_strlcpy(char *dst, const char *src, size_t size);
size_t ft_strlcat(char *dst, const char *src, size_t size);
-size_t ft_strnlen(const char *s, size_t size);
double ft_sqrt(double x);
/*