-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line_bonus.h
31 lines (25 loc) · 1.17 KB
/
get_next_line_bonus.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
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edboutil <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/22 15:12:53 by edboutil #+# #+# */
/* Updated: 2022/12/23 12:15:14 by edboutil ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <sys/uio.h>
# include <limits.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 20
# endif
//# if BUFFER_SIZE >= 10000000
//# define BUFFER_SIZE 20
//# endif
char *get_next_line(int fd);
#endif