」 feat: Added get_next_line to libft

This commit is contained in:
2024-05-25 14:29:30 +02:00
parent 20b6877420
commit f2e2059042
3 changed files with 84 additions and 2 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/30 23:06:24 by mmoussou #+# #+# */
/* Updated: 2024/04/30 11:03:55 by mmoussou ### ########.fr */
/* Updated: 2024/05/25 14:24:29 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -126,4 +126,11 @@ t_stack *ft_stacklast(t_stack *stack);
void ft_stackadd_back(t_stack **stack, t_stack *new);
void ft_stackadd_front(t_stack **stack, t_stack *new);
/* ----- GET_NEXT_LINE ------ */
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 5
# endif
char *get_next_line(int fd);
#endif