-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
37 lines (27 loc) · 1.26 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
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: haarab <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/27 12:59:20 by haarab #+# #+# */
/* Updated: 2023/01/01 14:16:36 by haarab ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 500
# endif
# include <unistd.h>
# include <stdlib.h>
# include <fcntl.h>
# include <limits.h>
char *get_next_line(int fd);
size_t ft_strlen(const char *s);
int check_new_line(char *str);
char *ft_cut(char *str);
char *ft_strjoin(char *s1, char *s2);
char *ft_get_line(char *str);
#endif