-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
32 lines (27 loc) · 1.33 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: rilliano <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/27 13:48:59 by rilliano #+# #+# */
/* Updated: 2023/05/05 17:11:50 by rilliano ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1024
# endif
char *get_next_line(int fd);
char *read_file(int fd, char *start);
char *ft_line(char *start, int len);
char *ft_next(char *prev, int len);
void *ft_memcpy(void *dst, const void *src, size_t n);
void *ft_calloc(size_t count, size_t size);
size_t ft_strlen(const char *s);
char *ft_join(char *s1, char *s2, int len);
#endif