-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
35 lines (31 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
35
/* ************************************************************************** */
/* */
/* :::::::: */
/* get_next_line.h :+: :+: */
/* +:+ */
/* By: splattje <splattje@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2023/11/01 13:08:06 by splattje #+# #+# */
/* Updated: 2023/11/06 11:03:58 by splattje ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <unistd.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <fcntl.h>
# include <limits.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif
char *get_next_line(int fd);
char *get_string(char *str);
char *read_the_line(char *str);
char *free_and_null(char *buffer, char **buffer2);
size_t ft_strlen(const char *str);
char *ft_strchr(const char *str, int c);
char *ft_strdup(const char *src);
char *ft_strjoin(char *s1, char *s2);
#endif