get_next_line/scratch/get_next_line.h
Willem Haffmans 0e894b1b63 add all
2024-07-26 22:30:53 +02:00

32 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/11 17:36:01 by whaffman #+# #+# */
/* Updated: 2024/07/12 10:18:47 by whaffman ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdlib.h>
# include <unistd.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 80
# endif
typedef struct s_list
{
char *content;
struct s_list *next;
} t_list;
char *get_next_line(int fd);
#endif