Minishell
Loading...
Searching...
No Matches
str_to_array.c File Reference
#include "../../include/utils.h"
#include <stdlib.h>
#include <stdbool.h>
Include dependency graph for str_to_array.c:

Functions

void process_char (char *str, int *result_index, bool *saw_whitespace, char c)
 
int counter_rows (char *str, char delim)
 
int max_cols (int max, int col)
 
char ** str_to_arr (char *str, char end)
 

Function Documentation

◆ counter_rows()

int counter_rows ( char * str,
char delim )

◆ max_cols()

int max_cols ( int max,
int col )

◆ process_char()

void process_char ( char * str,
int * result_index,
bool * saw_whitespace,
char c )

◆ str_to_arr()

char ** str_to_arr ( char * str,
char end )
Here is the call graph for this function: