2022-11-14 09:45:44 -05:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* get_next_line.h :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2022/11/14 15:38:06 by cchauvet #+# #+# */
|
2022-11-14 11:31:11 -05:00
|
|
|
/* Updated: 2022/11/14 17:28:39 by cchauvet ### ########.fr */
|
2022-11-14 09:45:44 -05:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2022-10-25 18:44:33 -04:00
|
|
|
#ifndef GET_NEXT_LINE_H
|
|
|
|
# define GET_NEXT_LINE_H
|
|
|
|
# include <stdlib.h>
|
|
|
|
# include <unistd.h>
|
2022-11-14 11:31:11 -05:00
|
|
|
# ifndef BUFFER_SIZE
|
|
|
|
# define BUFFER_SIZE 42
|
|
|
|
# endif
|
2022-10-25 18:44:33 -04:00
|
|
|
|
|
|
|
void *ft_calloc(size_t nmemb, size_t size);
|
|
|
|
void *ft_realloc(void *ptr, size_t size);
|
2022-10-26 11:25:43 -04:00
|
|
|
char *ft_strfjoin(char *dst, char *src);
|
2022-10-25 18:44:33 -04:00
|
|
|
char *ft_strndup(char *src, size_t n);
|
2022-10-26 11:25:43 -04:00
|
|
|
size_t ft_strlen(char *str);
|
2022-11-08 08:49:12 -05:00
|
|
|
ssize_t ft_strchr(char *str, char c);
|
2022-10-25 18:44:33 -04:00
|
|
|
char *get_next_line(int fd);
|
|
|
|
#endif
|