I want to use my program like this:
./program -I /usr/include/ /usr/bin/ /usr/local/include/ ...
Where the switch can go on and on like in a var args list. How could I do that in C99? Preferably get a something like char **args_list
or char *args_list[]
that contains all of the things like /usr/include
and /usr/bin/
.