-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
30 lines (27 loc) · 1.25 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ooussaad <ooussaad@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/11 18:44:40 by ooussaad #+# #+# */
/* Updated: 2022/11/12 20:21:02 by ooussaad ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 99
# endif
# include <fcntl.h>
# include <unistd.h>
# include <string.h>
# include <stdio.h>
# include <stdlib.h>
size_t ft_strlen(char *str);
char *ft_strchr(char *s, int c);
char *ft_strjoin(char *s1, char *s2);
char *get_next_line(int fd);
void *ft_memcpy(void *dst, void *src, size_t n);
#endif