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
check_values_validity.c File Reference
#include <string.h>
#include "utils.h"
#include "arg_parse.h"
Include dependency graph for check_values_validity.c:

Go to the source code of this file.

Functions

int check_values_validity (const struct arg_s **arguments, const size_t size)
 Check if the values of the parameters are correct.
 

Function Documentation

◆ check_values_validity()

int check_values_validity ( const struct arg_s ** arguments,
const size_t size )

Check if the values of the parameters are correct.

Parameters
argumentsThe structure where parameters and parameters value are stored
sizeThe size of the structure
Returns
(0) if every values are correct, (-1) if not

Definition at line 106 of file check_values_validity.c.