-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_next_line_bonus.h
34 lines (29 loc) · 1.43 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
31
32
33
34
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: busmanov <busmanov@student.42wolfsburg.de> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/21 04:52:20 by busmanov #+# #+# */
/* Updated: 2022/10/21 11:12:44 by busmanov ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# ifndef OPEN_MAX //if max number of open files allowed for a single program is not defined
# define OPEN_MAX 256//define it as 256
# endif
# include <fcntl.h>
# include <unistd.h>
# include <stdlib.h>
# include <stdio.h>
# include <stddef.h>
char *get_next_line(int fd);
char *ft_strjoin(char *temp, char *buffer);
char *ft_strchr(char *str, int c);
size_t ft_strlen(char *str);
char *ft_ret_read_line(char *buffer);
char *ft_update_line(char *buffer);
char *ft_read_line(char *buffer, int fd);
#endif