-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
33 lines (28 loc) · 1.31 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
33
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kyungsle <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/01 12:23:56 by kyungsle #+# #+# */
/* Updated: 2022/02/03 15:37:11 by kyungsle ### ########seoul.kr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdlib.h>
typedef struct s_list
{
int fd;
char *content;
struct s_list *next;
} t_list;
char *get_next_line(int fd);
size_t ft_strlen(const char *s);
char *ft_strchr(const char *s, int c);
char *ft_strndup(const char *s1, size_t n);
char *ft_strjoin(const char *s1, const char *s2);
char *ft_lstdel(t_list **head_ptr, t_list *curr_ptr);
#endif