From 8c933384bbb422ed70c05d9f5191052bc089536e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=ABy=20Noort?= Date: Sun, 11 May 2025 19:24:07 +0200 Subject: [PATCH] chore: added new functions to libft.h --- hdrs/libft.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hdrs/libft.h b/hdrs/libft.h index 8b65d36..696caf1 100644 --- a/hdrs/libft.h +++ b/hdrs/libft.h @@ -4,6 +4,8 @@ # include int ft_strcmp(const char *s1, const char *s2); +size_t ft_strlen(const char *s); +int ft_putstr(const char *s); int ft_islower(int c); int ft_isupper(int c); int ft_tolower(int c); @@ -18,5 +20,12 @@ void *ft_memcpy(void *dst, const void *src, size_t n); void *ft_memcpy32(void *dst, const void *src, size_t n); void *ft_memcpy64(void *dst, const void *src, size_t n); int ft_atoi(const char *str); +int ft_putchar(char c); +int ft_putnbr(int n); +int ft_putunbr(unsigned int n); +int ft_puthex(unsigned int n, int uppercase); +void ft_putptr(void *ptr); +int ft_printf(const char *format, ...); +int ft_putaddr(unsigned long n); #endif