-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line.h
32 lines (28 loc) · 1.35 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ygolshan <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/19 12:26:51 by ygolshan #+# #+# */
/* Updated: 2023/01/19 12:26:58 by ygolshan ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1024
# endif
# include <stdlib.h>
# include <unistd.h>
size_t ft_strlen(char *str);
void ft_bzero(void *s, size_t n);
void *ft_calloc(size_t nitem, size_t size);
char *ft_strjoin(char *s1, char *s2);
char *ft_strchr(const char *string, int searchedChar );
char *ft_read_file(int fd, char *str);
char *ft_first_line(char *str);
char *ft_goto_next(char *str);
char *get_next_line(int fd);
#endif