libft/hdrs/libft.h

31 lines
987 B
C

#ifndef LIBFT_H
# define LIBFT_H
# include <stdlib.h>
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);
int ft_toupper(int c);
int ft_isdigit(int c);
int ft_isalpha(int c);
void ft_bzero(void *s, size_t n);
void *ft_memset(void *s, int c, size_t n);
void *ft_memset32(void *s, int c, size_t n);
void *ft_memset64(void *s, int c, size_t n);
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