-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
33 lines (28 loc) · 1.36 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vscabell <vscabell@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/11 12:37:43 by vscabell #+# #+# */
/* Updated: 2020/07/29 18:35:42 by vscabell ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdlib.h>
# include <sys/types.h>
# include <sys/uio.h>
# include <unistd.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 50
# endif
# define OPEN_MAX 20
int get_next_line(int fd, char **line);
size_t ft_strlen(const char *str);
void *ft_memcpy(void *dst, const void *src, int n);
char *ft_strdup(const char *s1);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_substr(char const *s, unsigned int start, size_t len);
#endif