-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
29 lines (25 loc) · 1.24 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: hanmpark <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/22 13:56:48 by hanmpark #+# #+# */
/* Updated: 2022/12/05 07:15:06 by hanmpark ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdlib.h>
# include <unistd.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 5
# endif
char *get_next_line(int fd);
size_t ft_strlen(char *str);
void ft_freeall(char *buf, char *line, char *stash);
void *ft_calloc(size_t count, size_t size);
char *ft_bufferjoin(char *s1, char *s2);
char *ft_linetrim(char *str);
#endif