-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
32 lines (27 loc) · 1.29 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: abdsalah <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/04 10:36:39 by abdsalah #+# #+# */
/* Updated: 2024/09/05 12:04:14 by abdsalah ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1024
# endif
# include <fcntl.h>
# include <stddef.h>
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
char *ft_strjoin(const char *s1, const char *s2);
char *ft_strdup(const char *s);
char *ft_strchr(const char *s, int c);
char *get_next_line(int fd);
char *ft_strncpy(char *dest, char *src, unsigned int n);
#endif