-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
30 lines (27 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: ybitton <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/01/16 17:27:16 by ybitton #+# #+# */
/* Updated: 2017/01/26 17:41:13 by ybitton ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUFF_SIZE 9
# include "libft/libft.h"
# include <unistd.h>
# include <fcntl.h>
# include <stdio.h>
# include <stdlib.h>
typedef struct s_fd
{
int fd;
char *stat;
struct s_fd *next;
} t_fd;
int get_next_line(const int fd, char **line);
#endif