summaryrefslogtreecommitdiff
path: root/lib/getopt.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-23 02:45:02 +0000
committerJim Meyering <jim@meyering.net>1997-01-23 02:45:02 +0000
commit2091adbbb18c123b2aa424259a53b26a0d5314fd (patch)
tree201785d3e0b181b542861839dcb024cafde6425a /lib/getopt.h
parentccbf5f37f1d5549e6171dea4e38db0ade520d984 (diff)
downloadcoreutils-2091adbbb18c123b2aa424259a53b26a0d5314fd.tar.xz
Update from GNU via Uli
Diffstat (limited to 'lib/getopt.h')
-rw-r--r--lib/getopt.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/lib/getopt.h b/lib/getopt.h
index aa7877f86..7dad11b79 100644
--- a/lib/getopt.h
+++ b/lib/getopt.h
@@ -1,19 +1,23 @@
/* Declarations for getopt.
- Copyright (C) 1989, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
+ Copyright (C) 1989,90,91,92,93,94,96,97 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 file is part of the GNU C Library. Its master source is NOT part of
+ the C library, however. The master source lives in /gd/gnu/lib.
- This program is distributed in the hope that it will be useful,
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library 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.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library 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,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
#ifndef _GETOPT_H
#define _GETOPT_H 1
@@ -36,7 +40,7 @@ extern char *optarg;
On entry to `getopt', zero means this is the first call; initialize.
- When `getopt' returns EOF, this is the index of the first of the
+ When `getopt' returns -1, this is the index of the first of the
non-option elements that the caller should itself scan.
Otherwise, `optind' communicates from one call to the next