History log of /src/lib/libc/stdlib/getopt.3 |
Revision | | Date | Author | Comments |
1.36 |
| 04-Dec-2022 |
uwe | Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS
|
1.35 |
| 03-Jul-2017 |
wiz | Remove workaround for ancient HTML generation code.
|
1.34 |
| 05-Jun-2014 |
wiz | Remove trailing whitespace.
|
1.33 |
| 05-Jun-2014 |
christos | Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional option.
|
1.32 |
| 22-Mar-2010 |
joerg | branches: 1.32.12; 1.32.22; Use .In for header files instead of .Ar Pa and variations.
|
1.31 |
| 23-Sep-2003 |
wiz | Slight syncing with OpenBSD version.
|
1.30 |
| 10-Sep-2003 |
wiz | Use standard section headers, suggested by jmc@openbsd. Sort sections.
|
1.29 |
| 10-Sep-2003 |
wiz | Pull over some improvements from OpenBSD's v1.26 of this file, including SEE ALSO and RETURN VALUES sections.
|
1.28 |
| 10-Sep-2003 |
itojun | getopt return value has to be held in int, not char.
|
1.27 |
| 09-Sep-2003 |
wiz | Fix typos and declare a missing variable in example. From Quentin Garnier in PR 22733.
|
1.26 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.25 |
| 27-Jun-2003 |
wiz | Quote question mark.
|
1.24 |
| 16-Apr-2003 |
wiz | Use .In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
|
1.23 |
| 10-Aug-2002 |
yamt | fix sample code. from openbsd.
|
1.22 |
| 07-Feb-2002 |
ross | generate & symbolically
|
1.21 |
| 07-Feb-2002 |
ross | Generate <>& symbolically.
|
1.20 |
| 16-Sep-2001 |
wiz | Drop unnecessary whitespace and .Pp, sort SEE ALSO, sort sections, and some minor fixes.
|
1.19 |
| 25-Jan-2000 |
elric | branches: 1.19.6; Added a tab before a '}' to put the brace in the right place.
|
1.18 |
| 02-Dec-1999 |
kleink | Change the declaration of the argv argument to getopt(3) from "char * const *" (as originally declared in System V) to "char * const []", as was done in 1003.2 and subsequently propagated into XPG4. From Andrew Cagney in PR lib/8930.
|
1.17 |
| 19-Nov-1999 |
kristerw | Typos (from OpenBSD)
|
1.16 |
| 22-Mar-1999 |
garbled | branches: 1.16.6; Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Wheee!
|
1.15 |
| 07-Feb-1999 |
bad | getopt() does not return -1 when encountering an unknown option. Also, minor KNF nit in an example.
|
1.14 |
| 29-Jul-1998 |
ross | English.
|
1.13 |
| 28-Apr-1998 |
fair | fix mdoc references and mistakes
|
1.12 |
| 05-Feb-1998 |
perry | add LIBRARY section to man page
|
1.11 |
| 30-Jan-1998 |
perry | update to lite-2
|
1.10 |
| 09-Jan-1998 |
perry | RCS Id Police.
|
1.9 |
| 04-Jun-1997 |
mikel | optarg -> optstring and rewording from Brian Grayson in PR misc/3697.
|
1.8 |
| 06-May-1994 |
jtc | merge back in our changes (mostly POSIX.2 pedanticism)
|
1.7 |
| 06-May-1994 |
jtc | sync with 44lite
|
1.6 |
| 10-Jan-1994 |
jtc | Fix spelling errors.
|
1.5 |
| 13-Oct-1993 |
jtc | 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.
|
1.4 |
| 12-Oct-1993 |
jtc | 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.
|
1.3 |
| 14-Sep-1993 |
jtc | 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.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.3 |
| 30-Jan-1998 |
perry | import lite-2
|
1.1.1.2 |
| 06-May-1994 |
jtc | 44lite getopt.[c3]
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.16.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.19.6.4 |
| 13-Aug-2002 |
nathanw | Catch up to -current.
|
1.19.6.3 |
| 22-Mar-2002 |
nathanw | Catch up to -current.
|
1.19.6.2 |
| 08-Mar-2002 |
nathanw | Catch up to -current.
|
1.19.6.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.32.22.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.32.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|