chore: added new functions to libft.h

This commit is contained in:
Zoëy Noort 2025-05-11 19:24:07 +02:00
parent 6910e9e96f
commit 8c933384bb

View file

@ -4,6 +4,8 @@
# include <stdlib.h> # include <stdlib.h>
int ft_strcmp(const char *s1, const char *s2); 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_islower(int c);
int ft_isupper(int c); int ft_isupper(int c);
int ft_tolower(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_memcpy32(void *dst, const void *src, size_t n);
void *ft_memcpy64(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_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 #endif