-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_next_line_bonus.h
More file actions
34 lines (29 loc) · 1.33 KB
/
get_next_line_bonus.h
File metadata and controls
34 lines (29 loc) · 1.33 KB
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
34
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: alisharu <marvin@42.fr> #+# +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025-05-11 11:40:32 by alisharu #+# #+# */
/* Updated: 2025-05-11 11:40:32 by alisharu ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# include <limits.h>
char *ft_cut_str(char *line);
char *get_next_line(int fd);
char *ft_strjoin(char *line, char *buff);
char *ft_strchr(char *s, int c);
char *new_line(char *line);
char *future_next_line(char *line);
void ft_get_line(int fd, char **line);
size_t ft_strlen(char *s);
#endif