-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
28 lines (23 loc) · 1.22 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: anhigo-s <anhigo-s@student.42sp.org.br +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/08/27 22:25:24 by anhigo-s #+# #+# */
/* Updated: 2021/10/10 00:15:53 by anhigo-s ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUFFER_SIZE 10
# include <unistd.h>
# include <stdlib.h>
char *get_next_line(int fd);
char *gnl_strchr(char *str, char c);
size_t gnl_strlen(const char *s);
char *gnl_strjoinfree(char *s1, char *s2);
char *gnl_strdup(char *s);
char *gnl_substr(char const *s, unsigned int start, size_t len);
#endif