-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
29 lines (26 loc) · 1.39 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: earnaud <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/17 12:49:51 by earnaud #+# #+# */
/* Updated: 2020/11/26 14:23:11 by earnaud ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
int get_next_line(int fd, char **line);
char *ft_strjoin_sp(char **s1, char const *s2);
size_t ft_strlcpy(char *dest, const char *src, size_t size);
size_t ft_strlen(const char *str);
char *ft_strdup(const char *s);
long int ft_line(const char *s);
char *ft_afterline(char *s);
int ft_sendline_next(char **line, char *rest);
int ft_check_error(char **line, int fd);
int ft_read_buf(char **rest, char **line, int fd);
#endif