-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
30 lines (27 loc) · 1.32 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vkuklys <vkuklys@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/07/22 18:18:05 by vkuklys #+# #+# */
/* Updated: 2021/08/02 21:31:21 by vkuklys ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# include <fcntl.h>
# include <errno.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
char *get_next_line(int fd);
int ft_strlen(const char *str);
int ft_strncmp(const char *str1, const char *str2, unsigned int n);
char *ft_strdup(const char *str1);
void *ft_calloc(unsigned int num, unsigned int size);
char *ft_strjoin(char **s1, const char *s2);
#endif