-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
32 lines (26 loc) · 1.31 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
31
32
/* ************************************************************************** */
/* */
/* :::::::: */
/* get_next_line.h :+: :+: */
/* +:+ */
/* By: kfu <[email protected]> +#+ */
/* +#+ */
/* Created: 2020/11/15 12:22:00 by kfu #+# #+# */
/* Updated: 2020/12/01 18:46:55 by kfu ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 128
# endif
# define MAX_FD 10000
# include <unistd.h>
# include <stdlib.h>
int get_next_line(int fd, char **line);
char *ft_strdup(const char *str);
char *ft_strjoin(char const *str1, char const *str2);
size_t ft_strlen(const char *str);
char *ft_strchr(const char *str, int c);
char *ft_substr(char const *s, unsigned int start, size_t len);
#endif