Files
cub3d/lib/gnl/get_next_line.h

31 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/15 18:52:24 by aortigos #+# #+# */
/* Updated: 2025/11/16 20:32:59 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdio.h>
# include <stdlib.h>
# include "../libft/libft.h"
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 10000
# endif
char *get_next_line(int fd);
char *ft_read_to_left_str(int fd, char *left_str);
char *ft_get_line(char *left_str);
char *ft_new_left_str(char *left_str);
#endif