mikel
2acd0ee09a
optarg -> optstring and rewording from Brian Grayson in PR misc/3697.
1997-06-04 06:42:38 +00:00
jtc
a5284b9db4
merge back in our changes (mostly POSIX.2 pedanticism)
1994-05-06 18:18:33 +00:00
jtc
34ae5e111c
sync with 44lite
1994-05-06 18:02:02 +00:00
jtc
584ac8448e
Fix spelling errors.
1994-01-10 23:32:20 +00:00
jtc
716e19806c
Document (well, really just mention) external variable optopt.
...
Add trailing semicolons to the extern variables in the SYNOPSIS section
like all of the other manpages with extern variables.
1993-10-13 17:23:39 +00:00
jtc
c5ff256532
POSIX.2 requires special behavior if the first character of the optstring
...
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00
jtc
2eb08c94c4
POSIX.2 has changed getopt to return -1 instead of EOF (to decouple getopt()
...
from standard i/o). This change is more pedantic than functional as EOF
is defined to be -1.
1993-09-14 22:37:24 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00