#include "enviroment.h" #include "libft.h" char *get_enviroment(t_enviroment *enviroment, char *name) { while (enviroment != NULL) { if (ft_strcmp(enviroment->name, name) == 0) { return enviroment->value; } enviroment = enviroment->next; } return NULL; }