diff options
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); /* |