-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
33 lines (28 loc) · 1.32 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: psevilla <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/15 16:52:33 by psevilla #+# #+# */
/* Updated: 2024/11/21 20:22:56 by psevilla ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdio.h>
# include <string.h>
# include <fcntl.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
char *get_next_line(int fd);
int ft_strlen(char *s);
char *ft_strchr(const char *s, int c);
char *ft_strdup(char *s);
char *ft_strjoin(char *s1, char *s2);
char *ft_substr(const char *s, unsigned int start, size_t len);
#endif