-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
35 lines (30 loc) · 1.41 KB
/
get_next_line.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jmykkane <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/22 09:03:38 by jmykkane #+# #+# */
/* Updated: 2022/11/22 09:03:40 by jmykkane ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
# include <fcntl.h>
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
# include <sys/uio.h>
# include <sys/types.h>
char *get_next_line(int fd);
char *ft_strldup(char *src, int len);
size_t ft_strlen(char const *s, int mode);
void *ft_calloc(size_t count, size_t size);
void *ft_memchr(const void *s, int c, size_t n);
char *ft_strjoin(char const *s1, char const *s2);
void *ft_memcpy(void *dst, const void *src, size_t n);
#endif