-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
31 lines (27 loc) · 1.4 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ael-khni <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/20 13:42:53 by ael-khni #+# #+# */
/* Updated: 2021/11/20 15:12:27 by ael-khni ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
char *func(char **line, char **tmp, int nl);
char *get_next_line(int fd);
int check_newline(char *buff);
size_t ft_strlen(const char *s);
char *get_reminder(char **str, int nl);
char *ft_substr(char const *s, unsigned int start, size_t len);
void *ft_calloc(size_t count, size_t size);
void ft_bzero(void *s, size_t n);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strdup(const char *s1);
#endif