-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
29 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
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <arcanava@student.42barcel> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/24 13:13:29 by arcanava #+# #+# */
/* Updated: 2024/04/22 22:01:29 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
# include <unistd.h>
# include <stdlib.h>
# include <stdio.h>
char *get_next_line(int fd, int line_break);
int line_break_pos(char *str);
void free_buffer(char **buff);
#endif