/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* get_next_line.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: kcolin +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/23 20:23:21 by kcolin #+# #+# */ /* Updated: 2024/11/06 16:51:35 by kcolin ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef GET_NEXT_LINE_H # define GET_NEXT_LINE_H # include # include # ifndef BUFFER_SIZE # define BUFFER_SIZE 1024 # endif # if BUFFER_SIZE <= 0 # error BUFFER_SIZE must be at least 1 # endif size_t ft_strlen(const char *s); char *ft_strjoin(char *s1, char *s2); char *ft_strchr(const char *s, int c); char *ft_substr(char const *s, unsigned int start, size_t len); char *get_next_line(int fd); #endif