diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-04 15:52:47 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-04 15:52:47 +0200 |
commit | 5cb3373a2e5a5109a5d3b72ef45978b98f885706 (patch) | |
tree | 11a0a6f467da3ddf227d2eaf6824c4509242025e /libft/include/libft.h | |
parent | ok nice (diff) | |
parent | $? fix (diff) | |
download | 42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.gz 42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.bz2 42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.xz 42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.zst 42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.zip |
Merge branch 'master' into fix-pwd
Diffstat (limited to '')
-rw-r--r-- | libft/include/libft.h (renamed from libft/inc/libft.h) | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libft/inc/libft.h b/libft/include/libft.h index 5ddb471..0cd5ed1 100644 --- a/libft/inc/libft.h +++ b/libft/include/libft.h @@ -24,6 +24,12 @@ # define BUFFER_SIZE 72 # endif +typedef enum +{ + FALSE, + TRUE +} t_bool; + typedef struct s_list { void *content; @@ -142,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); /* |