optind is a global variable in getopt.h (a macro defined in stdlib.h in nuttx). Here it is used as a variable, not a variable of getopt
optind is a global variable in getopt.h (a macro defined in stdlib.h in nuttx). Here it is used as a variable, not a variable of getopt