-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
27 lines (22 loc) · 1.08 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jkeuleya <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/01/21 14:35:38 by jkeuleya #+# #+# */
/* Updated: 2015/01/21 14:35:40 by jkeuleya ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUFF_SIZE 100
typedef struct s_gnl
{
int fd;
char *content;
struct s_gnl *next;
} t_gnl;
int get_next_line(const int fd, char **line);
#endif