1
0
mirror of https://github.com/KeyZox71/ft_minipowershell.git synced 2025-05-14 00:08:47 +02:00

」 feat(Prompt): prompt working

This commit is contained in:
2024-04-27 17:39:26 +02:00
parent 6c254630fa
commit 5c7a4e8b5a
19 changed files with 121 additions and 83 deletions

26
libft/mem/ft_freetab.c Normal file
View File

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_freetab.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/27 15:33:20 by adjoly #+# #+# */
/* Updated: 2024/04/27 17:20:24 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
void ft_freearr(void **arr)
{
void **tmp;
tmp = arr;
while (*tmp)
{
free(*tmp);
tmp++;
}
free(arr);
}