-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line.h
29 lines (25 loc) · 1.28 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rfibigr <rfibigr@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/07 17:12:43 by rfibigr #+# #+# */
/* Updated: 2018/05/11 10:14:08 by rfibigr ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_H
# define GET_NEXT_LINE_H
# define BUFF_SIZE 1111
# include "./libft/libft.h"
# include <stdlib.h>
# include <stdio.h>
# include <unistd.h>
# include <fcntl.h>
# include <limits.h>
int get_next_line(const int fd, char **line);
char *ft_strcut(char **line, int linelen);
int ft_read_to_space(int fd, char **buff);
char *ft_memcat(char *buff, size_t bufflen, char *sread, size_t rd);
#endif