-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
30 lines (26 loc) · 1.25 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jcampagn <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/01 12:02:07 by jcampagn #+# #+# */
/* Updated: 2021/12/03 15:43:17 by jcampagn ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# include <stdio.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 5
# endif
size_t ft_strlen(const char *s);
char *ft_strchr(char *s, int c);
char *ft_strjoin(const char *s1, const char *s2 );
char *ft_get_line(char *str);
char *ft_new_left_str(char *str);
char *get_next_line(int fd);
#endif