Y a exam desoler bb pas le temps de te mettre un vrai commit jtm

This commit is contained in:
Raphaël 2024-03-28 15:25:38 +01:00
parent 5d425048f2
commit 9a87ad7097
13 changed files with 457 additions and 8 deletions

33
libft/get_next_line.h Normal file
View file

@ -0,0 +1,33 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/18 17:12:04 by rparodi #+# #+# */
/* Updated: 2023/11/23 18:15:34 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 420
# endif
# include <unistd.h>
# include <stdlib.h>
char *ft_get_line(char *str);
char *get_next_line(int fd);
int ft_strchr(char *str, char c);
char *ft_get_next(char *str);
char *ft_get_line(char *str);
char *ft_strjoin(char *s1, char *s2, int i, int j);
size_t ft_strlen(char const *str);
char *file_converted(int fd);
char *ft_free(char *str);
char *ft_check(char *memory, int fd);
#endif