From c98de126d2252fe47dc2a9094a5f9a8fa6b4b60a Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 11 Oct 2020 15:52:52 +0200 Subject: Removing libft/minishell_test submodules, Removing subject/README/etc --- libft/src/mem/ft_memalloc.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libft/src/mem/ft_memalloc.c (limited to 'libft/src/mem/ft_memalloc.c') diff --git a/libft/src/mem/ft_memalloc.c b/libft/src/mem/ft_memalloc.c new file mode 100644 index 0000000..5aab2ec --- /dev/null +++ b/libft/src/mem/ft_memalloc.c @@ -0,0 +1,18 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_memalloc.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/10/07 10:07:14 by cacharle #+# #+# */ +/* Updated: 2019/11/20 03:28:56 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libft.h" + +void *ft_memalloc(size_t size) +{ + return (ft_calloc(size, 1)); +} -- cgit