bonus started

This commit is contained in:
David Gailleton
2025-11-24 18:21:13 +01:00
parent 7d8738e565
commit a4c9a91209
3 changed files with 155 additions and 0 deletions

29
get_next_line_bonus.h Normal file
View File

@@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/24 15:56:45 by dgaillet #+# #+# */
/* Updated: 2025/11/24 17:22:18 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 <stdlib.h>
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);
char *ft_strdup(const char *s);
void ft_bzero(void *s, size_t n);
#endif