/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* export.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet next != NULL) { write(fd, "declare -x ", 11); ft_putstr_fd(((t_env *)(current->content))->key, fd); ft_putstr_fd("=", fd); write(fd, "\"", 1); ft_putstr_fd(((t_env *)(current->content))->value, fd); write(fd, "\"\n", 2); current = current->next; } return (0); }