-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
28 lines (25 loc) · 1.26 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ykoh <ykoh@student.42seoul.kr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/05/22 22:17:47 by ykoh #+# #+# */
/* Updated: 2020/06/05 15:13:00 by ykoh ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdlib.h>
# include <limits.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 32
# endif
size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c);
char *ft_strndup(const char *s1, size_t n);
char *ft_strjoin(char const *s1, char const *s2);
int get_next_line(int fd, char **line);
#endif