From a28e57c6e0277a1d7346bec58cf557c52e337501 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Mon, 24 Jun 2024 16:58:46 +0200 Subject: Add libft --- lib/libft/get_next_line.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/libft/get_next_line.h (limited to 'lib/libft/get_next_line.h') diff --git a/lib/libft/get_next_line.h b/lib/libft/get_next_line.h new file mode 100644 index 0000000..5d3c6ee --- /dev/null +++ b/lib/libft/get_next_line.h @@ -0,0 +1,26 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* get_next_line.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser +# include + +# ifndef BUFFER_SIZE +# define BUFFER_SIZE 42 +# endif + +int ft_strlen(const char *str); +char *get_next_line(int fd); +void clear_buffer(char *buf, int start); +char *str_add_buffer(char *old_str, char *buf, int buf_len); +#endif // GET_NEXT_LINE_H -- cgit v1.2.3