Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Functions
array_utils.c File Reference
#include <string.h>
#include <stdlib.h>
#include "utils.h"
Include dependency graph for array_utils.c:

Go to the source code of this file.

Functions

size_t get_array_len (char **array)
 ! GETTER !!
 
char ** str_to_word_array (const char *str, const char delim)
 Turn string to char **.
 

Function Documentation

◆ get_array_len()

size_t get_array_len ( char ** array)

! GETTER !!

Get array len

Parameters
array
Returns
lenght of array or UNDEFINED if array not NULL terminated

Definition at line 13 of file array_utils.c.

◆ str_to_word_array()

char ** str_to_word_array ( const char * str,
const char delim )

Turn string to char **.

Parameters
str
delim
Returns
splited string

Definition at line 62 of file array_utils.c.