-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
24 lines (22 loc) · 1.15 KB
/
get_next_line.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rtroll <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/12/03 15:56:25 by rtroll #+# #+# */
/* Updated: 2018/12/05 18:00:28 by rtroll ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUFF_SIZE 32
# define CHECK_PTR(x) if (!(x)) return (-1)
# include <stdlib.h>
# include <sys/types.h>
# include <sys/uio.h>
# include <unistd.h>
# include "./libft/libft.h"
int get_next_line(const int fd, char **line);
#endif