5.3.4.15. Function args_find¶
Defined in File args.h
5.3.4.15.1. Function Documentation¶
-
int args_find(int argc, char **argv, const char *arg)¶
Find if an argument exists in program command line.
- Parameters
argc – Number of arguments in
argvarray of arguments.argv – Array of arguments.
arg – Argument to look for. Note that a list of arguments can be provided: arguments have to be separated by a comma (‘,’) character.
- Returns
1if the argument is found,0otherwise.