-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
31 lines (27 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ogenc <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/31 12:16:02 by ogenc #+# #+# */
/* Updated: 2023/01/31 13:42:54 by ogenc ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
# include <stdlib.h>
# include <unistd.h>
# include <stddef.h>
size_t ft_strlen(char *str);
char *ft_strjoin(char *s1, char *s2);
int ft_checknewline(char *buffer);
char *ft_newline(char *buffer);
char *new_buffer(char *buffer);
char *read_line(int fd, char *buffer);
char *get_next_line(int fd);
#endif