/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* env.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet next != NULL) { ft_putstr_fd(((t_env *)(current->content))->key, fd); ft_putstr_fd("=", fd); ft_putstr_fd(((t_env *)(current->content))->value, fd); write(fd, "\n", 1); current = current->next; } return (0); } /*int main(int argc, char *argv[], char **env) { t_list **be; be = init_env(env); print_env(be, 1); return (0); }*/