cmd_array_fill_argv()

This commit is contained in:
LuckyLaszlo
2021-11-14 12:57:18 +01:00
parent 402196b9a9
commit bb77de0588
4 changed files with 84 additions and 30 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/11/14 10:12:30 by lperrey ### ########.fr */
/* Updated: 2021/11/14 12:23:38 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -33,11 +33,12 @@ t_cmd **parsing(t_token *token_list);
int valid_syntax(t_token *token_list);
int valid_token(t_token **token_list, enum e_token_id token_id);
int valid_command_separator(const t_token *token_list);
size_t count_pipes(t_token *token);
t_cmd **alloc_cmd_array(size_t cmd_nbr);
size_t count_pipes(t_token *token_list);
t_cmd **cmd_array_alloc(size_t cmd_nbr);
int cmd_array_fill_argv(t_token *token_list, t_cmd **cmd_arr);
int words_expansions(t_token *token_list);
int token_expansions(t_token **t);
int redirections(t_token *t, t_cmd **cmd_arr);
int redirections(t_token *token_list, t_cmd **cmd_arr);
// Builtins
int builtin_env(int argc, char *argv[], t_all *c);