-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
32 lines (27 loc) · 1.28 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akdemir <[email protected] +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/27 16:39:16 by akdemir #+# #+# */
/* Updated: 2023/08/02 16:58:51 by akdemir ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
# include <unistd.h>
# include <stdlib.h>
char *get_next_line(int fd);
int ft_strlen(const char *str);
char *ft_substr(char *s, int start, int len);
char *ft_strjoin(char *s1, char *s2);
char *ft_getline(char *s);
char *ft_cutline(char *str);
int nlcheck(const char *s);
char *ft_read(char *str, int fd);
#endif