You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
1.1 KiB

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: emartine <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/21 21:09:11 by emartine #+# #+# */
/* Updated: 2017/11/21 21:09:13 by emartine ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include "libft.h"
# ifndef BUFF_SIZE
# define BUFF_SIZE 1
# endif
# define ULIMIT_N_42 4864
int get_next_line(const int fd, char **line);
struct s_fd
{
int fd;
char *bf;
int n;
};
#endif