-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_next_line.h
More file actions
29 lines (25 loc) · 1.25 KB
/
get_next_line.h
File metadata and controls
29 lines (25 loc) · 1.25 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lbiasuz <lbiasuz@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/03 20:44:07 by lbiasuz #+# #+# */
/* Updated: 2022/08/23 22:51:52 by lbiasuz ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdlib.h>
# include <unistd.h>
# include "libft.h"
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 128
# endif
size_t ft_strlen(const char *s);
int ft_strchr_gnl(char *src, char c);
char *ft_substr_gnl(char const *s, unsigned int start, size_t len);
char *ft_strjoin_gnl(char **dest, char **src);
char *get_next_line(int fd);
#endif