HomeFreeBSD

MFC r337666: getopt_long(3): Document behavior, optstring leading characters

Description

MFC r337666: getopt_long(3): Document behavior, optstring leading characters

Leading '+', '-', and ':' in optstring have special meaning. We briefly
mention that the first two have special meaning in that we say
POSIXLY_CORRECT turns them off, but we don't actually document their
meaning. Add a paragraph to RETURN VALUES explaining how they control
the treatment of non-option arguments.

A leading ':' has no mention; add a note that it suppresses warnings about
missing arguments.

Details

Provenance
kevansAuthored on
Parents
rS338078: MFC r337524: libi386: Fix typo in pxe.h
Branches
Unknown
Tags
Unknown