First version with working test (read and print file)
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/03/01 13:34:46 by vmanzoni #+# #+# */
|
||||
/* Updated: 2019/03/01 13:35:08 by vmanzoni ### ########.fr */
|
||||
/* Updated: 2019/04/14 12:13:35 by vmanzoni ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FILLIT_H
|
||||
# define FILLIT_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h> // for system call write
|
||||
#include <fcntl.h> // for system call open
|
||||
@@ -18,3 +21,18 @@
|
||||
#include <stdbool.h> // 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);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user