-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
34 lines (29 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
30
31
32
33
34
/* ************************************************************************** */
/* */
/* :::::::: */
/* get_next_line.h :+: :+: */
/* +:+ */
/* By: lbartels <lbartels@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2023/11/15 15:54:12 by lbartels #+# #+# */
/* Updated: 2023/11/15 15:54:21 by lbartels ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# include <string.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 10
# endif
char *get_next_line(int fd);
char *set_buffer(int fd, char *str);
int check_new_line(char *str);
char *ft_strjoin(char *str, char const *buffer);
char *set_next_line(char *str);
char *new_str(char *str);
size_t ft_strlen(const char *s);
#endif