t_array *ft_arraynew(void) { t_array *array; array = (t_array*)malloc(sizeof(t_array)); if (array == NULL) return (NULL); ft_arrayini(array); return (array); }
void cmd_init(t_cmd *cmd) { ft_arrayini(&(cmd->argv)); }