-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line_bonus.h
30 lines (25 loc) · 1.19 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: msodor <msodor@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/20 19:38:26 by msodor #+# #+# */
/* Updated: 2022/12/22 13:16:57 by msodor ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
#define GET_NEXT_LINE_BONUS_H
#ifndef BUFFER_SIZE
#define BUFFER_SIZE 29
#endif
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
int ft_strlen(char *str);
int ft_strchr(char *str, char c);
char *ft_strjoin(char *s1, char *s2);
char *get_next_line(int fd);
#endif