so_long/get_next_line/get_next_line.h
2022-12-12 21:56:11 +01:00

29 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/15 23:40:12 by erey-bet #+# #+# */
/* Updated: 2022/12/12 17:16:43 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 41
# endif
char *get_next_line(int fd);
void *ft_calloc_gnl(size_t nitems, size_t size);
size_t ft_strlen_gnl(const char *str);
int ft_strchr_gnl(const char *str, int search);
void ft_strlcpy_gnl(char *dest, const char *src, size_t size);
#endif