leaks tests verifies et trouves

This commit is contained in:
hugodu69
2019-12-15 03:01:22 +01:00
parent f2e48e7746
commit 3ce1c65b03
8 changed files with 495 additions and 46 deletions

View File

@@ -0,0 +1,31 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jamrabhi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/12/05 12:55:15 by jamrabhi #+# #+# */
/* Updated: 2019/12/05 12:57:31 by jamrabhi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef GET_NEXT_LINE_BONUS_H
# define GET_NEXT_LINE_BONUS_H
# include <unistd.h>
# include <stdlib.h>
# include <limits.h>
# include <stdio.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
int get_next_line(int fd, char **line);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_substr(char const *s, unsigned int start, size_t len);
char *ft_strchr(const char *s, int c);
size_t ft_strlen(const char *str);
void *ft_memalloc(size_t size);
#endif