-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
36 lines (29 loc) · 1.32 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
33
34
35
36
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: carlde-l <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/31 19:31:09 by carlde-l #+# #+# */
/* Updated: 2023/06/01 18:28:30 by carlde-l ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1
# endif
# include <stdio.h>
# include <unistd.h>
# include <stdlib.h>
# include <fcntl.h>
# include <limits.h>
char *get_next_line(int fd);
char *ft_read_and_stash(int fd, char *stash);
char *ft_line(char *stash);
char *ft_clean(char *stash);
char *ft_strchr(char *stash, char c);
char *ft_strjoin(char *dest, char *src);
int ft_strlen(char *str);
#endif