-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
27 lines (23 loc) · 1.15 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fatkeski <fatkeski@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/23 19:24:53 by fatkeski #+# #+# */
/* Updated: 2023/12/25 19:53:35 by fatkeski ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 25
# endif
# include <stdlib.h>
# include <unistd.h>
char *get_next_line(int fd);
char *gnl_strjoin(char *arr, char *buff);
char *gnl_strdup(char *arr);
size_t gnl_strlen(const char *s);
#endif