adding get_next_line
This commit is contained in:
10
libft.h
10
libft.h
@@ -6,7 +6,7 @@
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
|
||||
/* Updated: 2018/05/16 12:19:51 by tmaze ### ########.fr */
|
||||
/* Updated: 2018/06/07 16:54:31 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -28,6 +28,12 @@ typedef struct s_list
|
||||
struct s_list *next;
|
||||
} t_list;
|
||||
|
||||
/*
|
||||
** definition macro BUFF_SIZE
|
||||
*/
|
||||
|
||||
# define BUFF_SIZE 30
|
||||
|
||||
/*
|
||||
** fonctions obligatoires
|
||||
*/
|
||||
@@ -131,4 +137,6 @@ char *ft_strndup(const char *s1, size_t n);
|
||||
unsigned int ft_abs(int nb);
|
||||
char *ft_strnchr(const char *s, int c, int n);
|
||||
char *ft_strrnchr(const char *s, int c, int n);
|
||||
|
||||
int get_next_line(const int fd, char **line);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user