-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
29 lines (26 loc) · 1.21 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hfazaz <hfazaz@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/07 22:00:25 by hfazaz #+# #+# */
/* Updated: 2024/01/19 23:25:53 by hfazaz ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 5
# endif
# include <fcntl.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
char *ft_strchr(char *s, int c);
size_t ft_strlen(char *str);
char *ft_strjoin(char *s1, char *s2);
char *get_next_line(int fd);
#endif