-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
29 lines (25 loc) · 1.31 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
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: acesar-l <acesar-l@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/29 11:43:29 by acesar-l #+# #+# */
/* Updated: 2021/10/29 12:13:00 by acesar-l ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 10
# endif
char *get_next_line(int fd);
char *gnl_strchr(const char *str, int argument);
size_t gnl_strlcpy(char *dest, const char *src, size_t destsize);
char *gnl_substr(char const *s, unsigned int start, size_t len);
char *gnl_strjoin(const char *s1, const char *s2);
char *gnl_strdup(char *src);
#endif