OSS Library Calls (g - h) getopt(3)
• The argv[optind] result points to the - (dash) string.
The getopt() function does increment optind if the result of argv[optind] points to the -- (dash
dash) string.
RELATED INFORMATION
Commands: getopt(1).
527187-004 Hewlett-Packard Company 3−55