-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
32 lines (28 loc) · 1.41 KB
/
get_next_line_bonus.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_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ytaya <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/17 15:10:31 by ytaya #+# #+# */
/* Updated: 2021/11/19 00:12:57 by ytaya ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
# include <limits.h>
# include <fcntl.h>
char *ft_strchr(const char *s, int c);
void ft_free(char **str);
void ft_get_line(char **rest, char **line);
void ft_read(int fd, char **rest, char **line, char **buffer);
char *get_next_line(int fd);
size_t ft_strlen(const char *s);
char *ft_strdup(const char *src);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_substr(char const *s, unsigned int start, size_t len);
#endif