Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
getopt(3) OSS Library Calls Reference Manual
• The argv[optind] result is NULL.
• The *argv[optind] result is not the special - (dash) flag.
• 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).
3−98 Hewlett-Packard Company 527187-017