libft/libft.h
2024-10-16 10:32:29 +02:00

36 lines
1.4 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libft.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/15 10:11:54 by kcolin #+# #+# */
/* Updated: 2024/10/16 10:24:26 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIBFT_H
# define LIBFT_H
typedef unsigned int t_size;
int ft_isalpha(int c);
int ft_isdigit(int c);
int ft_isalnum(int c);
int ft_isascii(int c);
int ft_isprint(int c);
t_size ft_strlen(const char *s);
void *ft_memset(void *s, int c, t_size n);
void ft_bzero(void *s, t_size n);
void *ft_memcpy(void *dest, const void *src, t_size n);
void *ft_memmove(void *dest, const void *src, t_size n);
t_size ft_strlcpy(char *dst, const char *src, t_size size);
t_size ft_strlcat(char *dst, const char *src, t_size size);
int ft_toupper(int c);
int ft_tolower(int c);
#endif