-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
30 lines (26 loc) · 1.18 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
25
26
27
28
29
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jecarol <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/01/27 16:03:15 by jecarol #+# #+# */
/* Updated: 2017/02/12 00:52:10 by jecarol ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUF_SIZE 32
# include <unistd.h>
# include <sys/types.h>
# include <sys/uio.h>
# include <fcntl.h>
# include "./libft/libft.h"
typedef struct s_gnl
{
void *content;
struct s_gnl *next;
} t_gnl;
int get_next_line(const int fd, char **line);
#endif