-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
32 lines (27 loc) · 1.27 KB
/
get_next_line_bonus.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_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: riolivei <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/01 13:25:45 by ajordan- #+# #+# */
/* Updated: 2022/11/13 17:23:38 by riolivei ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <stdio.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 10
# endif
char *get_next_line(int fd);
char *read_line(int fd, char *str);
char *ft_strchr(char *s, int c);
size_t ft_strlen(char *s);
char *ft_strjoin(char *str, char *buff);
char *get_content(char *str);
char *new_line(char *str);
#endif