style(includes): moving the includes in libft folder

- Disable conflict with libs like math.h
This commit is contained in:
Raphael 2025-12-11 15:30:52 +01:00 committed by Raphaël
parent 4eac053ef8
commit 10d1563a89
9 changed files with 35 additions and 0 deletions

35
includes/libft/gnl.h Normal file
View file

@ -0,0 +1,35 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* gnl.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/18 17:12:04 by rparodi #+# #+# */
/* Updated: 2025/12/11 15:24:17 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GNL_H
# define GNL_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 420
# endif
# include <stdlib.h>
# include <unistd.h>
char **memory_storage(void);
char *ft_get_line(char *str);
char *get_next_line(int fd);
void get_next_line_clear(void);
char *ft_get_next(char *str);
char *ft_get_line(char *str);
char *ft_strjoin_gnl(char *s1, char *s2, int i, int j);
int ft_strchr_index(char *str, char c);
char *file_converted(int fd);
char *ft_free(char *str);
char *ft_check(char *memory, int fd);
#endif