summaryrefslogtreecommitdiff
path: root/lib/getopt.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-09-08 05:08:08 +0000
committerJim Meyering <jim@meyering.net>1993-09-08 05:08:08 +0000
commit219bbb0758350d94610e967f31b5f9fdb0728354 (patch)
tree22ac56c41618aafee21e1f0284623b7868c133cc /lib/getopt.h
parent27049d3bfc5acc53cc84a91a356441746b5608d6 (diff)
downloadcoreutils-219bbb0758350d94610e967f31b5f9fdb0728354.tar.xz
new versions
Diffstat (limited to 'lib/getopt.h')
-rw-r--r--lib/getopt.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/getopt.h b/lib/getopt.h
index 93a5cf778..45541f5ac 100644
--- a/lib/getopt.h
+++ b/lib/getopt.h
@@ -1,16 +1,16 @@
/* Declarations for getopt.
- Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
@@ -49,6 +49,10 @@ extern int optind;
extern int opterr;
+/* Set to an option character which was unrecognized. */
+
+extern int optopt;
+
/* Describe the long-named options requested by the application.
The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector
of `struct option' terminated by an element containing a name which is