-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
30 lines (25 loc) · 1.21 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: rrolland <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/08/05 10:55:58 by rrolland #+# #+# */
/* Updated: 2020/09/09 14:56:23 by rrolland ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <fcntl.h>
# include <stdlib.h>
# include <stdio.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 32
# endif
size_t ft_strlen(const char *str);
char *ft_strdup(char *src);
char *ft_strjoin(char *s1, char *s2);
int get_next_line(int fd, char **line);
#endif