summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.c
AgeCommit message (Expand)Author
2015-09-01ANSIfy getopt(3) - this is the REPLACE_GETOPT version from getopt_long(3)kamil
2015-09-01Constness correction for the getopt(3) function under REPLACE_GETOPTkamil
2009-03-20ANSIfy. Remove conditionals around __RCSID.joerg
2007-11-09always compile getopt_long. some ifdef reduction. more to come.christos
2007-11-06Revert previous. This mess of ifdefs needs to be killed.christos
2007-11-06move the test to replace getopt higher up, before we need to include anything.christos
2007-07-05Fix several end cases:ginsbach
2006-10-04Switch from 4-clause to 2-clause BSD license.wiz
2005-12-02don't make internal functions pretend to take a const argument.yamt
2005-11-29WARNS=4christos
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2003-10-27Overhaul how `build.sh tools' are used:lukem
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
2002-01-29Make almost all tools compile and run properly on non-NetBSD hosts. (Intv
2001-11-04fix WARNS=2 (-Wshadow) warningslukem
2001-04-24don't claim that options are illegal, cf lib/12715joda
2001-02-12don't extern char *__progname; it's never used!cgd
2001-01-04sprinkle _DIAGASSERT() aroundlukem
2000-11-26Be SUS-conformant regarding return value when option argument is missing.wiz
2000-08-25Some (popular) programs expect to be able to re-initialize `optind'thorpej
2000-07-08Correct format mismatch for field widthssommerfeld
2000-06-09Don't segfault when complaining about an invalid single-character option.nathanw
2000-04-02Add "namespace.h" and include <getopt.h> since we moved the stuff outchristos
2000-04-02New getopt_long from Thomas Klausner and Dieter Baronchristos
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1999-07-23 getopt long functionalitymcr