so_long/get_next_line/get_next_line_bonus.h
2022-12-11 18:48:37 +01:00

29 lines
1.2 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);
#endif