-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_next_line.h
More file actions
32 lines (27 loc) · 1.33 KB
/
get_next_line.h
File metadata and controls
32 lines (27 loc) · 1.33 KB
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: jihyjeon < [email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/21 19:00:42 by jihyjeon #+# #+# */
/* Updated: 2024/01/30 22:56:16 by jihyjeon ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 1
# endif
char *get_next_line(int fd);
char *read_a_line(int fd, char **line, char **rmd);
char *join_the_buf(int fd, char *line, ssize_t *b_len);
ssize_t newline_seeker(char *s);
size_t ft_strlen(char *s);
char *ft_strjoin(char *s1, char *s2, ssize_t blen);
void *ft_memcpy(void *dst, void *src, size_t n);
#endif