From 66aa7a2268cf3ef0c3ddd042773a0faeec1e449c Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Mon, 14 Nov 2022 15:45:44 +0100 Subject: [PATCH] bonus, first implementation --- get_next_line.c | 6 +-- get_next_line.h | 13 ++++++ get_next_line_bonus.h | 104 ++++++++++++++++++++++++++++++++++++++++++ get_next_line_utils.c | 15 +++--- 4 files changed, 126 insertions(+), 12 deletions(-) create mode 100644 get_next_line_bonus.h diff --git a/get_next_line.c b/get_next_line.c index ac52fc5..ea16fc6 100644 --- a/get_next_line.c +++ b/get_next_line.c @@ -6,7 +6,7 @@ /* By: cchauvet # include +# define BUFFER_SIZE 42 void *ft_calloc(size_t nmemb, size_t size); void *ft_realloc(void *ptr, size_t size); diff --git a/get_next_line_bonus.h b/get_next_line_bonus.h new file mode 100644 index 0000000..ad8e6c8 --- /dev/null +++ b/get_next_line_bonus.h @@ -0,0 +1,104 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* get_next_line_bonus.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cchauvet