AC function that uses getopt_long function to parse the options command line GNU Gengetopt generates a C function that uses getopt_long function to parse the options command line to validate and complete a struct.Thus your program can now handle options such as: myprog - input foo.c-o foo.o - no-tabs-i 100 *. classAnd two long options (those starting with - options) and short (start with - and consist of a single character) can be treated. For standards on options for the short and long you may want to take a look at the GNU Coding Standards. Gengetopt can also generate a function to save options command line in a file and a function to read options from command line file.Of course, these two types of files are compliant. Gengetopt is free software.