-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
37 lines (30 loc) · 1.37 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
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: marco-fe <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/13 11:54:51 by marco-fe #+# #+# */
/* Updated: 2023/08/18 10:52:10 by marco-fe ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdio.h>
# include <stdlib.h>
# include <limits.h>
# include <fcntl.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 10
# endif
/**/
char *get_next_line(int fd);
/**/
size_t ft_strlen_gnl(const char *s);
char *ft_strchr_gnl(const char *s, int c);
size_t ft_strlcpy(char *dst, const char *src, size_t n);
char *ft_strjoin_gnl(char const *s1, char const *s2);
void *ft_calloc_gnl(unsigned int count, unsigned int size);
#endif