35 curr_node = curr_node->
next;
37 env_array = (
char **)malloc(
sizeof(
char *) * (i + 1));
46 curr_node = curr_node->
next;
58 while (s[i] && s[i] != c)
60 str = (
char *)malloc(
sizeof(
char) * (i + 1));
64 while (s[i] && s[i] != c)
81 next_node = curr_node->
next;
83 free(curr_node->
value);
85 curr_node = next_node;
char ** env_to_array(t_env *envp)
void free_env(t_env *envp)
char * ft_strcdup(const char *s, int c)
void print_t_env(t_env *tokens)
int ft_printf(const char *format,...)
char * ft_strjoin(char const *s1, char const *s2)