-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_init.c
24 lines (21 loc) · 1.04 KB
/
ft_init.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_malloc.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: escura <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/04 14:08:30 by escura #+# #+# */
/* Updated: 2024/05/08 15:20:45 by escura ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_alloc.h"
bool ft_alloc_init(void)
{
t_allocs *lst;
lst = ft_calloc(1, sizeof(t_allocs));
if (lst == NULL)
return (false);
ft_allocs(lst);
return (true);
}