-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
25 lines (22 loc) · 1.2 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: atweek <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/25 17:45:06 by atweek #+# #+# */
/* Updated: 2021/03/06 20:36:54 by atweek ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <fcntl.h>
# include <string.h>
# include <stdlib.h>
# include <unistd.h>
char *gnl_strjoin(char *s1, char const *s2);
size_t gnl_ft_strlen(const char *str);
char *gnl_substr(char *s, unsigned int start, size_t len, int flag);
int get_next_line(int fd, char **line);
#endif