-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
33 lines (28 loc) · 1.33 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: muhozkan <muhozkan@student.42.tr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/27 14:23:32 by muhozkan #+# #+# */
/* Updated: 2022/03/05 11:42:43 by muhozkan ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# include <stdio.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1000
# endif
char *get_next_line(int fd);
char *ft_read_to_left_str(int fd, char *left_str);
char *ft_strchr(char *s, int c);
size_t ft_strlen(char *s);
char *ft_strjoin(char *left_str, char *buff);
char *ft_get_line(char *left_str);
char *ft_new_left_str(char *left_str);
#endif