-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
30 lines (27 loc) · 1.31 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: tclement <[email protected]> +#+ */
/* +#+ */
/* Created: 2020/06/23 11:04:54 by tclement #+# #+# */
/* Updated: 2020/08/16 12:20:51 by tclement ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUF_SIZE
# define BUF_SIZE 32
# endif
# include <stdlib.h>
# include <limits.h>
# include <unistd.h>
# include <sys/types.h>
size_t ft_strlen(const char *s);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strchr(const char *s, int c);
char *ft_strdup(const char *src);
char *ft_remainder(char *str, int start);
int get_next_line(const int fd, char **line);
#endif