Home
last modified time | relevance | path

Searched hist:"3 b89018938ac8773e7432e110ec86f874b876f4f" (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libc/stdlib/
H A Dgetopt_long.3diff 3b89018938ac8773e7432e110ec86f874b876f4f Sun Aug 12 02:08:14 CEST 2018 Kyle Evans <kevans@FreeBSD.org> getopt_long(3): Document behavior of leading characters in optstring

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.

Reviewed by: jilles
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D14142