2024-10-15 10:21:37 +02:00
|
|
|
/* ************************************************************************** */
|
|
|
|
|
/* */
|
|
|
|
|
/* ::: :::::::: */
|
|
|
|
|
/* libft.h :+: :+: :+: */
|
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
|
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
|
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
|
/* Created: 2024/10/15 10:11:54 by kcolin #+# #+# */
|
2024-10-15 14:44:11 +02:00
|
|
|
/* Updated: 2024/10/15 14:42:16 by kcolin ### ########.fr */
|
2024-10-15 10:21:37 +02:00
|
|
|
/* */
|
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
|
|
#ifndef LIBFT_H
|
|
|
|
|
# define LIBFT_H
|
|
|
|
|
|
2024-10-15 10:44:30 +02:00
|
|
|
typedef unsigned int t_size;
|
2024-10-15 10:21:37 +02:00
|
|
|
|
2024-10-15 10:44:30 +02:00
|
|
|
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);
|
2024-10-15 10:21:37 +02:00
|
|
|
|
|
|
|
|
t_size ft_strlen(const char *s);
|
|
|
|
|
|
2024-10-15 14:44:11 +02:00
|
|
|
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);
|
2024-10-15 11:19:02 +02:00
|
|
|
|
2024-10-15 10:21:37 +02:00
|
|
|
#endif
|