42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_params_to_array.c File Reference

The file containing the my_params_to_array function. More...

#include "my.h"

Functions

struct info_parammy_params_to_array (int ac, char **av)
 Returns a info_params struct of the argc (ac) and the argv (av)
 

Detailed Description

The file containing the my_params_to_array function.

Author
Nicolas TORO

Function Documentation

◆ my_params_to_array()

struct info_param * my_params_to_array ( int ac,
char ** av )

Returns a info_params struct of the argc (ac) and the argv (av)

Parameters
acThe number of parameters
avThe array of parameters
Returns
struct info_param* The information of the parameters
Author
Nicolas TORO