/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* fillit.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: vmanzoni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/03/01 13:34:46 by vmanzoni #+# #+# */ /* Updated: 2019/04/14 12:34:30 by vmanzoni ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FILLIT_H # define FILLIT_H #include #include // for system call write #include // for system call open #include // for memmove and strlen #include // for debug printf #include // to use bool type # define BUFFER_SIZE 1024 /* ** DELETE BEFORE EVALUATION */ void print_test(char *test); /* ** FUNCTIONS */ char *read_file(char *file); void ft_display_error(char *s, int fd); int ft_file_errors(char *file); #endif