-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
37 lines (30 loc) · 1.42 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
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aleslie <aleslie@student.21-school.ru> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/25 18:06:58 by aleslie #+# #+# */
/* Updated: 2021/11/15 12:09:49 by aleslie ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 21
# endif
# define READ_END 2
# include <stdlib.h>
# include <unistd.h>
char *get_next_line(int fd);
char *ft_get_line(char *remains);
char *ft_remains(char *remains);
char *ft_read_save(int fd, char *remains);
size_t ft_strlen(char *str);
char *ft_strdup(const char *s1);
size_t ft_strlcpy(char *dst, const char *src, size_t dstsize);
char *ft_strdup(const char *s1);
char *ft_strchr(const char *s, int c);
char *ft_strjoin(char *s1, char *s2);
#endif