summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
committerru <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
commited72feddcb3cc58c18aff36f4227af3fb11facad (patch)
tree13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/stdlib/getopt_long.3
parent10aca679734b6819f63019fd7c2ba4e54357c677 (diff)
downloadFreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip
FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz
Sort sections.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r--lib/libc/stdlib/getopt_long.324
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index e36ff84..352af08 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -213,6 +213,18 @@ if there was a missing option argument,
.Ql \&?
if the user specified an unknown or ambiguous option, and
\-1 when the argument list has been exhausted.
+.Sh ENVIRONMENT
+.Bl -tag -width ".Ev POSIXLY_CORRECT"
+.It Ev POSIXLY_CORRECT
+If set, option processing stops when the first non-option is found and
+a leading
+.Ql -
+or
+.Ql +
+in the
+.Fa optstring
+is ignored.
+.El
.Sh EXAMPLES
.Bd -literal -compact
int bflag, ch, fd;
@@ -450,18 +462,6 @@ relative
to current positions) are the same, though.
(We do fewer variable swaps.)
.El
-.Sh ENVIRONMENT
-.Bl -tag -width ".Ev POSIXLY_CORRECT"
-.It Ev POSIXLY_CORRECT
-If set, option processing stops when the first non-option is found and
-a leading
-.Ql -
-or
-.Ql +
-in the
-.Fa optstring
-is ignored.
-.El
.Sh SEE ALSO
.Xr getopt 3
.Sh HISTORY
OpenPOWER on IntegriCloud