-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
41 lines (30 loc) · 1.32 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
37
38
39
40
41
/* ************************************************************************** */
/* */
/* :::::::: */
/* get_next_line_bonus.h :+: :+: */
/* +:+ */
/* By: rcappend <[email protected]> +#+ */
/* +#+ */
/* Created: 2020/11/30 10:39:19 by rcappend #+# #+# */
/* Updated: 2020/11/30 12:19:33 by rcappend ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 128
# endif
# define MAX_FD 1024
typedef enum
{
FALSE,
TRUE
} t_bool;
size_t ft_strclen(const char *str, int c);
char *ft_strchr(const char *s, int c);
char *ft_memccpy(char *dst, const char *src, int c);
void ft_memmove(char *dst, const char *src);
int get_next_line(int fd, char **line);
#endif