-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
36 lines (29 loc) · 1.38 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
33
34
35
36
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: youkim <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/06/12 15:28:01 by youkim #+# #+# */
/* Updated: 2021/06/15 10:34:45 by youkim ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 32
# endif
# ifndef OPEN_MAX
# define OPEN_MAX 64
# endif
# include <fcntl.h>
# include <unistd.h>
# include <stdlib.h>
int get_next_line(int fd, char **line);
size_t ft_strlen(const char *s);
size_t ft_strlcat(char *dst, const char *src, size_t dstsize);
size_t ft_strlcpy(char *dst, const char *src, size_t dstsize);
char *ft_strdup(const char *s1);
char *ft_strjoin(char const *s1, char const *s2);
#endif