-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
34 lines (30 loc) · 1.38 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: oohnivch <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/25 14:50:23 by oohnivch #+# #+# */
/* Updated: 2024/04/29 19:34:14 by oohnivch ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdlib.h>
# include <sys/types.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 69
# endif
char *get_next_line(int fd);
size_t ft_strlen(char const *s);
size_t ft_nlcheck(char const *s);
char *ft_buffjoin(char **s1, char **s2);
void ft_free(char **something);
size_t ft_linelen(char *buffer);
char *ft_parseline(char **buffer);
char *get_next_line(int fd);
void *ft_calloc(size_t nmemb, size_t size);
void ft_bzero(void *s, size_t n);
#endif