-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
32 lines (26 loc) · 1.27 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: ibeliaie <ibeliaie@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/06/04 18:43:53 by ibeliaie #+# #+# */
/* Updated: 2023/06/19 12:47:54 by ibeliaie ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 5
# endif
char *get_next_line(int fd);
char *ft_new_rest(char *rest);
size_t ft_strlen(const char *str);
char *ft_extract_line(char *rest);
char *ft_strchr(char *str, int find);
char *ft_read_till_nl(int fd, char *rest);
char *ft_strjoin(char *rest, char *buff);
#endif