-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
39 lines (33 loc) · 1.53 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vsimeono <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/13 14:07:40 by vsimeono #+# #+# */
/* Updated: 2021/11/13 17:26:16 by vsimeono ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1
# endif
# ifndef MAX_FD
# define MAX_FD 1024
# endif
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
char *get_next_line(int fd);
char *ft_strchr(const char *s, int c);
size_t ft_strlen(const char *s);
char *ft_substr(char const *s, unsigned int start, size_t len);
char *because_of_norminette(int fd, char *line);
void *ft_memmove(void *dst, const void *src, size_t len);
void ft_bzero(void *s, size_t n);
void *ft_calloc(size_t count, size_t size);
char *move_in_line(char *line, char *buf);
char *ft_strjoin(char const *s1, char const *s2);
#endif