get_next_line/get_next_line_bonus.h
Etienne Rey-bethbeder c3e321b3ab Ajout get_next_line
2022-11-16 13:32:26 +01:00

30 lines
1.3 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/15 23:40:12 by erey-bet #+# #+# */
/* Updated: 2022/11/15 20:00:55 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 41
# endif
char *get_next_line(int fd);
void *ft_calloc(size_t nitems, size_t size);
size_t ft_strlen(const char *str);
int ft_strchr(const char *str, int search);
void ft_strlcpy(char *dest, const char *src, size_t size);
void *ft_realloc(void *ptr, size_t size);
#endif