History log of /netbsd-src/lib/libc/stdlib/getopt.3 (Results 1 – 25 of 36)
Revision Date Author Comments
# e6fc3c59 04-Dec-2022 uwe <uwe@NetBSD.org>

Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS


# 01869ca4 03-Jul-2017 wiz <wiz@NetBSD.org>

Remove workaround for ancient HTML generation code.


# abf14c83 05-Jun-2014 wiz <wiz@NetBSD.org>

Remove trailing whitespace.


# 78d38aa2 05-Jun-2014 christos <christos@NetBSD.org>

Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional
option.


# 1c3412fa 22-Mar-2010 joerg <joerg@NetBSD.org>

Use .In for header files instead of .Ar Pa and variations.


# a66ae718 23-Sep-2003 wiz <wiz@NetBSD.org>

Slight syncing with OpenBSD version.


# 8d66b069 10-Sep-2003 wiz <wiz@NetBSD.org>

Use standard section headers, suggested by jmc@openbsd. Sort sections.


# 9e4a5395 10-Sep-2003 wiz <wiz@NetBSD.org>

Pull over some improvements from OpenBSD's v1.26 of this file, including
SEE ALSO and RETURN VALUES sections.


# 0186de22 10-Sep-2003 itojun <itojun@NetBSD.org>

getopt return value has to be held in int, not char.


# 185463ae 09-Sep-2003 wiz <wiz@NetBSD.org>

Fix typos and declare a missing variable in example. From Quentin Garnier in PR 22733.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 3e884db9 27-Jun-2003 wiz <wiz@NetBSD.org>

Quote question mark.


# 472351e1 16-Apr-2003 wiz <wiz@NetBSD.org>

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.


# 145cf30b 10-Aug-2002 yamt <yamt@NetBSD.org>

fix sample code. from openbsd.


# 9856438e 07-Feb-2002 ross <ross@NetBSD.org>

generate & symbolically


# 814f296b 07-Feb-2002 ross <ross@NetBSD.org>

Generate <>& symbolically.


# 4e59d266 16-Sep-2001 wiz <wiz@NetBSD.org>

Drop unnecessary whitespace and .Pp, sort SEE ALSO, sort sections,
and some minor fixes.


# e0b171cf 25-Jan-2000 elric <elric@NetBSD.org>

Added a tab before a '}' to put the brace in the right place.


# 087b539e 02-Dec-1999 kleink <kleink@NetBSD.org>

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.

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.

show more ...


# 1276709f 19-Nov-1999 kristerw <kristerw@NetBSD.org>

Typos (from OpenBSD)


# 38c96853 22-Mar-1999 garbled <garbled@NetBSD.org>

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!


# 855e0d39 07-Feb-1999 bad <bad@NetBSD.org>

getopt() does not return -1 when encountering an unknown option.
Also, minor KNF nit in an example.


# 871fe159 29-Jul-1998 ross <ross@NetBSD.org>

English.


# aba63e6a 28-Apr-1998 fair <fair@NetBSD.org>

fix mdoc references and mistakes


# 312aca53 05-Feb-1998 perry <perry@NetBSD.org>

add LIBRARY section to man page


12