20 result = malloc(
sizeof(
char *));
28 if (current_char ==
'"' || current_char ==
'\'')
34 char *str,
int *count)
45 temp = realloc(result,
sizeof(
char *) * (count + 1));
int toggle_quotes(int in_quotes, char current_char)
char ** finalize_result_array(char **result, int count)
char ** initialize_result_array(int *count)
char ** add_segment_on_delimiter(char **result, char **start, char *str, int *count)
char ** ft_add_segment(char **result, char *start, size_t length, int *count)