27 lines
1.1 KiB
C
27 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* env.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/02/14 14:56:02 by cchauvet #+# #+# */
|
|
/* Updated: 2023/02/14 14:58:40 by cchauvet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../minishell.h"
|
|
|
|
int main(char **env)
|
|
{
|
|
t_list **head;
|
|
t_list *current;
|
|
|
|
while (current != NULL)
|
|
{
|
|
ft_putendl_fd(1, current->content);
|
|
current = current->next;
|
|
}
|
|
return (0);
|
|
}
|