31 env = (
t_env *)curr->content;
35 prev->next = curr->next;
61 if (cmd->
args[i][0] ==
'-')
67 if (cmd->
args[i][0] ==
'\0')
71 "not a valid identifier");
static void remove_env_node(t_shell *shell, char *key)
int builtin_unset(t_shell *shell, t_cmd *cmd)
int is_valid_identifier(char *str)
void free_env_node(void *content)
Ortam değişkeni node'unu serbest bırakır.
void shell_error(char *cmd, char *arg, char *msg)
Minishell ana header dosyası
struct s_env t_env
-----> EXPANDER <--—
int ft_strcmp(const char *s1, const char *s2)