-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
43 lines (29 loc) · 1.43 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
37
38
39
40
41
42
43
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: anraymon <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 17:06:03 by anraymon #+# #+# */
/* Updated: 2023/12/11 17:04:51 by anraymon ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
char *get_next_line(int fd);
char *ft_reader(int fd, size_t read_count);
int ft_write(char **line, char *buffer);
char *ft_dupcat(char *src1, char *src2, size_t start, size_t end);
size_t ft_strlen(const char *s);
char *ft_meminit(size_t n);
void ft_memclear(char *s, size_t n);
size_t ft_search_end(char *s, size_t start);
size_t ft_get_start(char *s);
size_t ft_get_end(char *s, size_t start);
#endif