-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
executable file
·28 lines (24 loc) · 1.35 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 42Projects :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: larcrist <larcrist@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 0000/00/00 00:00:00 by larcrist #+# #+# */
/* Updated: 0000/00/00 00:00:00 by larcrist ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h> //write
# include <stdlib.h> //malloc(), free() and size_t
/* -------◊ GNL ◊------- */
char *get_next_line(int fd);
/* -------◊ UTILS ◊------- */
size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c);
char *ft_strjoin(char const *s1, char const *s2);
size_t ft_strlcpy(char *dst, const char *src, size_t size);
char *ft_strdup(const char *s1);
#endif