OPTSTRING
while ((optc = nextopt(OPTSTRING)) != '\0')
while ((ch = getopt(argc, argv, OPTSTRING)) != -1) {