summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-02-23 05:07:11 +0000
committerache <ache@FreeBSD.org>2004-02-23 05:07:11 +0000
commit7b23d0ae2e6343bdf8f32c112b8122a26ff8b7ae (patch)
tree316312ff32defdf7a9a7688efc3101a69740dcdb
parent8dfb22f60719278d1bfaa2353676b42190f7ee02 (diff)
downloadFreeBSD-src-7b23d0ae2e6343bdf8f32c112b8122a26ff8b7ae.zip
FreeBSD-src-7b23d0ae2e6343bdf8f32c112b8122a26ff8b7ae.tar.gz
Add optarg, optind, opterr, optopt, optreset to SYNOPSYS
-rw-r--r--lib/libc/stdlib/getopt_long.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index 9f46bff..a407571 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -44,6 +44,11 @@
.Lb libc
.Sh SYNOPSIS
.In getopt.h
+.Vt extern char *optarg ;
+.Vt extern int optind ;
+.Vt extern int optopt ;
+.Vt extern int opterr ;
+.Vt extern int optreset ;
.Ft int
.Fo getopt_long
.Fa "int argc" "char * const *argv" "const char *optstring"
OpenPOWER on IntegriCloud