6 ft_putstr_fd(
"minishell: syntax error near unexpected token `", 2);
7 ft_putstr_fd(unexpected_token, 2);
8 ft_putstr_fd(
"'\n", 2);
19 result = ft_strjoin(s1, s2);
28 buf = ft_strdup(
"minishell: ");
static char * build_error_msg(char *cmd, char *arg, char *msg)
static char * join_free(char *s1, char *s2)
int handle_syntax_error(t_shell *shell, char *unexpected_token)
void shell_error(char *cmd, char *arg, char *msg)
Minishell ana header dosyası