-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
32 lines (29 loc) · 1.3 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: majjig <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/12 02:38:52 by majjig #+# #+# */
/* Updated: 2021/11/16 18:19:20 by majjig ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
/* INCLUDES */
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# include <stdio.h>
# include <string.h>
/* PROTOTYPES */
char *get_next_line(int fd);
char *ft_strjoin(char *s1, char *s2);
int is_nl(char *s);
char *ft_strdup(char *src);
int ft_strlen(char *str);
char *new_line(char *line);
char *new_remain(char *line, char *remain);
char *read_file(int fd, int *end);
#endif