minishell
Minishell Project for École 42
|
Function for setting the path variable for t_executor nodes. More...
#include "minishell.h"
Functions | |
void | set_path_executor (t_executor *list, t_environ_list *environ) |
Sets the path variable for t_executor nodes. | |
Function for setting the path variable for t_executor nodes.
void set_path_executor | ( | t_executor * | list, |
t_environ_list * | environ | ||
) |
Sets the path variable for t_executor nodes.
Sets the path variable for t_executor nodes in the provided linked list. If PATH doesn't exist then t_executor->path remains at default(NULL);
list | A pointer to the head of the t_executor linked list. |
environ | A pointer to the environ linked list. |