2022-12-22 11:54:17 -05:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* get_next_line.h :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2022/11/14 15:38:06 by cchauvet #+# #+# */
|
2023-01-05 13:04:29 -05:00
|
|
|
/* Updated: 2023/01/05 13:06:19 by cchauvet ### ########.fr */
|
2022-12-22 11:54:17 -05:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
#ifndef GET_NEXT_LINE_H
|
|
|
|
# define GET_NEXT_LINE_H
|
|
|
|
# include <stdlib.h>
|
|
|
|
# include <unistd.h>
|
|
|
|
# ifndef BUFFER_SIZE
|
|
|
|
# define BUFFER_SIZE 42
|
|
|
|
# endif
|
2023-01-05 13:04:29 -05:00
|
|
|
# include "../libft/libft.h"
|
2022-12-22 11:54:17 -05:00
|
|
|
void *ft_calloc(size_t nmemb, size_t size);
|
|
|
|
void *ft_realloc(void *ptr, size_t size);
|
|
|
|
char *ft_strfjoin(char *dst, char *src);
|
|
|
|
char *ft_strndup(char *src, size_t n);
|
2023-01-05 13:04:29 -05:00
|
|
|
ssize_t ft_strchri(char *str, char c);
|
2022-12-22 11:54:17 -05:00
|
|
|
char *get_next_line(int fd);
|
|
|
|
#endif
|