-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
35 lines (30 loc) · 1.42 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: agarijo- <agarijo-@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/03 17:24:12 by agarijo- #+# #+# */
/* Updated: 2023/03/01 06:39:54 by agarijo- ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <fcntl.h>
# include <unistd.h>
# include <stdio.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1
# endif
char *ft_free(char *buffer, char *buf);
char *read_buffer(int fd, char *later);
char *check_for_break_line(char **buf, char *later, int *flag);
char *get_next_line(int fd);
int ft_strlen(const char *str);
char *ft_strchr(const char *s, int c);
char *ft_strjoin(char *s1, char *s2);
void *ft_calloc(size_t count, size_t size);
void *ft_memset(void *b, int c, size_t len);
#endif