-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_next_line_bonus.h
30 lines (25 loc) · 1.3 KB
/
get_next_line_bonus.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_bonus.h :+: :+: */
/* +:+ */
/* By: nsterk <[email protected]> +#+ */
/* +#+ */
/* Created: 2020/12/05 21:04:10 by nsterk #+# #+# */
/* Updated: 2020/12/13 11:57:43 by nsterk ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <stdlib.h>
# include <unistd.h>
# include <sys/select.h>
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 128
# endif
int get_next_line(int fd, char **line);
size_t ft_strlen(const char *s);
void ft_strlcpy(char *dst, const char *src, size_t size);
char *ft_strndup(const char *src, size_t n);
char *ft_strjoin(const char *s1, const char *s2, size_t len_s2);
#endif