/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* get_next_line_bonus.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dgaillet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/11/24 15:56:45 by dgaillet #+# #+# */ /* Updated: 2025/11/25 15:52:05 by dgaillet ### ########lyon.fr */ /* */ /* ************************************************************************** */ #ifndef GET_NEXT_LINE_BONUS_H # define GET_NEXT_LINE_BONUS_H # ifndef BUFFER_SIZE # define BUFFER_SIZE 42 # endif # include char *get_next_line(int fd); size_t ft_strlen(const char *s); char *ft_strjoin_new(char const *s1, char const *s2, size_t limit); void ft_bzero(void *s, size_t n); int index_of_nl(char *str, int limit); char *ft_substr(char const *s, unsigned int start, size_t len); #endif