-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
32 lines (26 loc) · 1.29 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: mrios-es <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/29 22:21:55 by mrios-es #+# #+# */
/* Updated: 2024/01/29 22:21:55 by mrios-es ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 30
# endif
# include <limits.h>
# include <stdlib.h>
# include <unistd.h>
size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c);
char *ft_strjoin(char const *s1, char const *s2);
void *ft_memmove(void *dst, const void *src, size_t len);
void free_ptr(char **ptr);
char *get_next_line(int fd);
#endif