|
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.
|

Go to the source code of this file.
Functions | |
| int | is_param (const char *str, const struct option_list_s *opt_list) |
| Check if a string is a parameter. | |
| int | get_nb_parameter (int ac, const char **av) |
| Get the number of parameter passed to the program. | |
| int get_nb_parameter | ( | int | ac, |
| const char ** | av ) |
Get the number of parameter passed to the program.
| ac | Number of arguments |
| av | Variables passed as parameter to the program |
Definition at line 38 of file parameter_utils.c.
| int is_param | ( | const char * | str, |
| const struct option_list_s * | opt_list ) |
Check if a string is a parameter.
| str | The string to check |
| opt_list | The constant defined with every known command |
Definition at line 12 of file parameter_utils.c.