-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
32 lines (28 loc) · 1.43 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
30
31
32
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hel-mefe <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/01 15:11:28 by hel-mefe #+# #+# */
/* Updated: 2021/12/01 15:12:14 by hel-mefe ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdio.h>
# include <stdlib.h>
# include <fcntl.h>
# include <unistd.h>
size_t ft_strlen(const char *str);
int in_buffer(char *buffer);
char *ft_strdup(const char *s);
char *ft_substr(const char *s, unsigned int start, size_t len);
char *ft_strjoin(const char *s1, const char *s2);
void ft_bzero(char *s, unsigned int start, size_t len);
void ft_switch_everything_left(char *buffer);
char *ft_read_file(int fd, char *buffer);
char *ft_treat_all_cases(int fd, char *buffer);
char *get_next_line(int fd);
#endif