-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
28 lines (25 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mamaro-d <mamaro-d@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/27 14:09:55 by mamaro-d #+# #+# */
/* Updated: 2021/10/04 17:43:39 by mamaro-d ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <fcntl.h>
# include <stdlib.h>
# include <unistd.h>
char *get_next_line(int fd);
char *read_file(size_t size_read, char *buffer, int fd);
char *ft_strjoin_and_free(char *s1, char *s2);
char *get_current_line(char **tmp_holder);
char *ft_strdup(char *s);
char *ft_strchr(char *str, char c);
size_t ft_strlen(const char *s);
char *ft_substr(char const *s, unsigned int start, size_t len);
#endif