chore: added new functions to libft.h
This commit is contained in:
parent
6910e9e96f
commit
8c933384bb
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue