-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_next_line.h
More file actions
30 lines (26 loc) · 1.17 KB
/
get_next_line.h
File metadata and controls
30 lines (26 loc) · 1.17 KB
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: nahmed-m <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/12/18 11:33:38 by nahmed-m #+# #+# */
/* Updated: 2016/01/07 18:24:43 by nahmed-m ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include "libft/includes/libft.h"
# include <unistd.h>
/*
** Size Of Buffer For GET_NEXT_LINE
*/
# define BUFF_SIZE 16
/*
** Maxmium Of File Descriptor For
** GET_NEXT_LINE
*/
# define MAX_FD 2147483647
int get_next_line(int const fd, char **line);
#endif