/* By: agilliar <agilliar@student.42mulhouse.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/01 10:55:35 by agilliar #+# #+# */
-/* Updated: 2025/11/01 20:56:35 by agilliar ### ########.fr */
+/* Updated: 2025/11/01 20:57:34 by agilliar ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdbool.h>
#include <stdlib.h>
-#include "get_next_line.h"
+#include "get_next_line_bonus.h"
void *ft_memcpy(void *dest, const void *src, size_t n);
bool buffer_shrink_near_fit(t_buf *buf);
/* By: agilliar <agilliar@student.42mulhouse.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/01 10:38:19 by agilliar #+# #+# */
-/* Updated: 2025/11/01 20:56:39 by agilliar ### ########.fr */
+/* Updated: 2025/11/01 20:57:37 by agilliar ### ########.fr */
/* */
/* ************************************************************************** */
-#ifndef GET_NEXT_LINE_H
-# define GET_NEXT_LINE_H
+#ifndef GET_NEXT_LINE_BONUS_H
+# define GET_NEXT_LINE_BONUS_H
# include <stddef.h>
/* By: agilliar <agilliar@student.42mulhouse.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/01 20:47:32 by agilliar #+# #+# */
-/* Updated: 2025/11/01 20:56:41 by agilliar ### ########.fr */
+/* Updated: 2025/11/01 20:57:50 by agilliar ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
-#include "get_next_line.h"
+#include "get_next_line_bonus.h"
/*
not restrict, therefor it is safe to use it on overlapping memory regions so