-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
32 lines (27 loc) · 1.28 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sunpark <sunpark@student.42.kr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/03/22 16:20:16 by sunpark #+# #+# */
/* Updated: 2020/03/28 23:39:39 by sunpark ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# include <fcntl.h>
# define FD_SIZE 1024
# define READ 1
# define READ_EOF 0
# define ERROR -1
int get_next_line(int fd, char **line);
char *ft_strnul(void);
size_t ft_strlen(const char *s);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strchr(const char *s, int c);
char *ft_strpush(char *s, int push);
#endif