This commit is contained in:
Angel Ortigosa Perez
2025-11-15 11:12:17 +01:00
commit 0cc70e4eb5
4 changed files with 265 additions and 0 deletions

32
get_next_line.h Normal file
View File

@@ -0,0 +1,32 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/15 18:52:24 by aortigos #+# #+# */
/* Updated: 2024/03/15 18:52:26 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdio.h>
# include <stdlib.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);
size_t ft_strlen(char *s);
char *ft_strchr(char *s, int c);
char *ft_strjoin(char *left_str, char *buff);
char *ft_get_line(char *left_str);
char *ft_new_left_str(char *left_str);
#endif